5 Repositories
Python lexer Libraries
Cython plugin for Lark, reimplementing the LALR parser & lexer for better performance
Lark-Cython Cython plugin for Lark, reimplementing the LALR parser & lexer for better performance on CPython. Install: pip install lark-cython Usage:
Get you an ultimate lexer generator using Fable; port OCaml sedlex to FSharp, Python and more!
NOTE: currently we support interpreted mode and Python source code generation. It's EASY to compile compiled_unit into source code for C#, F# and othe
A markdown lexer and parser which gives the programmer atomic control over markdown parsing to html.
A markdown lexer and parser which gives the programmer atomic control over markdown parsing to html.
Python Eacc is a minimalist but flexible Lexer/Parser tool in Python.
Python Eacc is a parsing tool it implements a flexible lexer and a straightforward approach to analyze documents.
A versatile token stream for handwritten parsers.
Writing recursive-descent parsers by hand can be quite elegant but it's often a bit more verbose than expected, especially when it comes to handling indentation and reporting proper syntax errors. This package provides a powerful general-purpose token stream that addresses these issues and more.