lexer-generator
Here are 62 public repositories matching this topic...
This shouldn't be too difficult to add support for.
As an example, \\u\{(?:10|[0-9])[0-9a-fA-F]{0,4}\}
would just expand to \\u\{(?:10|[0-9])[0-9a-fA-F]?[0-9a-fA-F]?[0-9a-fA-F]?[0-9a-fA-F]?
.
That is, expand to n
copies of the repeated node and m-n
copies of the repeated node but optional.
The "regex optimized" version would be expanding to nested optionals, so `nnn(?:m(?:m(?:m)?)?
-
Updated
Apr 9, 2020 - Rust
-
Updated
May 25, 2020 - C++
-
Updated
Apr 29, 2020 - C
-
Updated
Jun 8, 2020 - C#
-
Updated
Jun 1, 2020 - Go
-
Updated
Jun 6, 2020 - Nim
-
Updated
Jan 17, 2017 - F#
Add alternate syntaxes for object construction:
- Parameterless e.g. var f = new StringBuilder;
- Call-style e.g. var f = StringBuilder();
- Add initializer support e.g. var f = new StringBuilder { Capacity = 0x10 }
-
Updated
Dec 1, 2017 - PHP
-
Updated
Nov 24, 2019 - C#
-
Updated
Oct 21, 2018 - Python
to make the circle complete, support constructing a regular expression out of a DFA.
This is an implementation detail, and may be nice for future features.
-
Updated
Jun 10, 2018 - JavaScript
-
Updated
Oct 13, 2019 - Java
-
Updated
Jan 28, 2019 - JavaScript
-
Updated
May 27, 2019 - Python
-
Updated
May 27, 2018 - Java
-
Updated
May 30, 2018 - JavaScript
-
Updated
Sep 22, 2019 - C
-
Updated
Apr 16, 2019 - PHP
-
Updated
Jun 4, 2020 - C#
-
Updated
Mar 28, 2020 - Go
-
Updated
Jul 29, 2018 - C
-
Updated
Apr 23, 2017 - Yacc
Improve this page
Add a description, image, and links to the lexer-generator topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the lexer-generator topic, visit your repo's landing page and select "manage topics."
Current Behavior
f863c9490e6912ffcaeb12965fb3a567a10745ff changed the return value of
yyinput()
fromEOF
to0
when encountering an end-of-file:https://github.com/westes/flex/blob/3a4af3424c3df6a21eda0c77dd6e8ee4a46c997e/src/flex.skl#L1970-L1973
https://github.com/westes/flex/blob/f863c9490e6912ffcaeb12965fb3a567a10745ff/src/flex.skl#L1970-L1973
Inconsistence
But as docume