lexmachine icon indicating copy to clipboard operation
lexmachine copied to clipboard

Generate lexers for programs in various languages from the DFA

Open timtadh opened this issue 7 years ago • 0 comments

This is an experimental PR which contains support for generating lexers for programming languages directly from a DFA specification. It does not use the same API as the rest of lexmachine.

For a first proof of concept I wrote a super simple generator for Python. The code it produces is probably not optimal for python.

This branch may or may not every be merged. Chime in if you have a good use case or language you want support for (including Go).

timtadh avatar Feb 04 '19 07:02 timtadh