Class Lexer

java.lang.Object
org.episteme.natural.computing.compiler.Lexer

public class Lexer extends Object
A simple lexer (tokenizer) for DSL processing.

Converts input text into a stream of tokens based on configurable patterns.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • Lexer

      public Lexer()
      Creates a lexer with default token types.
    • Lexer

      public Lexer(List<Lexer.TokenType> tokenTypes)
      Creates a lexer with custom token types.
  • Method Details