syntax
syntax copied to clipboard
Syntactic analysis toolkit, language-agnostic parser generator.
``` %% S : A B C ; A : "a" ; B : B "b" C | /* empty */ ; C : "c" A ; ``` ## First...
I think there's a bug in the LL(1) parse table generation. Example grammar to demonstrate the issue: ``` %% S -> A; A -> "a" | ; ``` First and...
Parser generator for ruby generate code with `_1` and `_2`, which is reserved in latest ruby versions: Added from ruby 2.7 - https://www.bigbinary.com/blog/ruby-2-7-introduces-numbered-parameters-as-default-block-parameters ### Steps to reproduce Ruby version: ```...
I'm looking for the grammar accepted by `syntax` but couldn't find it can you add it ? Also can you add `EBNF` output to generate railroad diagram ? And an...
## Replace ```throw``` by ```std::exit``` As of LLVM 18, llvm-config --cxxflags contains -fno-exceptions, general standards are also moving out runtime exceptions in C++ as much as possible c.f. [stackoverflow discussion](https://stackoverflow.com/questions/4506369/when-and-how-should-i-use-exception-handling)....
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1. Commits f545bdb 3.0.1 c57d4c2 fix a few old XO issues for backport 419250f Fix potential ReDoS (#37) See full diff in compare view [ from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Just an FYI: https://www.npmjs.com/package/nomnom says "This package has been deprecated", and running `npm audit` generates various security vulnerability warnings. I am sure none of them are actually exploitable, so it's...
Having trouble figuring out how to access yytext since it isn't globally defined, nor passed as a parameter to the lexRule handlers. Is yytext only accessible to custom tokenizers, or...