Scanner and parser made for Mini Pascal.
-
Updated
Apr 28, 2023 - C#
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Scanner and parser made for Mini Pascal.
JSON parser/validator based on Lexepars parser lib.
Parser for filter expression built with Antlr4 and .NET Core
Finite State Machine based sequence processor
An arithmetic expression evaluator built using .NET
Create powerful but simple Text file templates
A small CSV reader / lexer / parser for .NET (C#)
Lexer and Parser for Pascal syntax (PascalABC)
An interpreter for the language NULLP.
This is a project to make myself familiar with compilers using Bob Nystroms' book Crafting Interpreters. I used C# for the implementation.
Empowering you to create your own parser.