Skip to content

About

FPCore 2.0 grammar for tree-sitter

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

tree-sitter-fpcore

CI crates npm pypi

FPCore 2.0 grammar for tree-sitter.

References

Grammar notes

  1. The standard says a property value is data (symbol | number | string | (data*)), but also notes that implementations may want to special-case properties whose values are expressions. This grammar parses the values of :pre, :spec and :alt as expressions.

  2. MAXFLOAT and HUGE_VAL are recognized as constants alongside the 17 in the standard, matching the reference implementation.

  3. The standard gives an ASCII-only regex but describes symbols as sequences of letter*, digits and punctuation; non-ASCII code points are accepted as letters, since benchmarks use symbols such as ε.

About

FPCore 2.0 grammar for tree-sitter

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages