Anthony Marmont


Expresser is a modular DSL Lexer.


Expresser.Lexing.Demo also has demo lexers for C# scripts and Json documents.

C# Lexing

Figure 1: A C# script highlighted using Expresser.
Figure 2: A C# script broken down into tokens using Expresser.

Json Lexing

Figure 3: A Json document highlighted and broken down into tokens using Expresser.


Expresser contains a simple DSL that uses the Expresser modular Lexer.

Supported Operators

+ - x / ^ ( ) true false == != < <= > >= | & !

BIDMAS Operator Order
Input Variables

Figure 4: A simple DSL created using Expresser.