1.0.0 • Published 11 months ago

gekr v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Gekr

Gekr is a generic library for defining parsers, specifically programming or domain specific languages. The included operations are geared towards C-style languages, but by defining custom operations it could be used for other languages.

const grammar = new Gekr.Grammar({
    operations: Gekr.getArithmeticOperators()
})
const doc = new Gekr.Document(path, "1 + 2 / 3")
const result = Gekr.parse(doc, grammar)

This library is being used here:

1.0.0

11 months ago