Logos is a lexer generator for Rust, designed to create fast and efficient lexers with minimal code. It leverages Rust's procedural macros to define token patterns, streamlining the process of lexical analysis.​

Features

  • Declarative syntax for defining token patterns
  • High performance with zero-copy lexing
  • Supports regex and literal token definitions
  • Skips irrelevant input like whitespace automatically
  • Provides detailed error reporting
  • Dual-licensed under Apache-2.0 and MIT licenses​

Project Samples

Project Activity

See All Activity >