Skip to content
#

lexer-generator

Here are 72 public repositories matching this topic...

logos
irh
irh commented May 8, 2020

I'm making use of Extras to keep track of current line information, and in my parser I also want to peek the next token.

The trouble is that if I wrap the Lexer using Peekable then I no longer have a way to access the .extras field.

lexer.token is mentioned as a solution in #82, but that doesn't seem to be available anymore.

I assume I can make my own peekable iterator that

enhancement good first issue

The regex-centric, fast lexical analyzer generator for C++ with full Unicode support. Faster than Flex. Accepts Flex specifications. Generates reusable source code that is easy to understand. Introduces indent/dedent anchors, lazy quantifiers, functions for lex/syntax error reporting and more. Seamlessly integrates with Bison and other parsers.

  • Updated May 10, 2022
  • C++

Improve this page

Add a description, image, and links to the lexer-generator topic page so that developers can more easily learn about it.

Curate this topic

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."

Learn more