SciLex
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Namespaces
scilex.hpp File Reference

Single public header for SciLex — include this to use the library. More...

#include "token.hpp"
#include "lexer.hpp"
Include dependency graph for scilex.hpp:

Go to the source code of this file.

Namespaces

namespace  scilex
 The SciLex public API (scilex::lexer, scilex::rule, scilex::token).
 

Detailed Description

Single public header for SciLex — include this to use the library.

SciLex is a small, header-only C++20 lexer built on REAL. It turns an ordered set of token rules (each a real::regex) into a maximal-munch, linear-time tokenizer. Pure, dependency-light (only REAL), and honest about its scope.

Definition in file scilex.hpp.