Skip to content

Snow-Gremlin/PetiteParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petite Parser C#

Petite Parser is an CLR parsing tool written in C# which can be configured to read different languages and structures.

This can be used to read complex data files, interpret scripts, or even translate a file into another (basic compile).

This library contains a parser and a tokenizer. The parser is a tool for reading a complicated non-contextual language, such as a programming language. The tokenizer is part of the parser but can be used by itself for breaking up text for features like simple text coloring.

Installing

  • Clone this repo locally
  • Install any current version of Visual Studio
  • Open solution with Visual Studio
  • Build the library *.dll as needed for your project

Creating a language definition

Run unit-tests

  • Open solution with Visual Studio
  • Use the unit-testing tool to run tests

Run examples