Interactive PetitParser Examples
- JSON Parser
-
Compares the native JSON parser against the one written with PetitParser.
- Lisp Interpreter
-
A reasonably complete interpreter that is able to parse and evaluate complex programs.
- Math Evaluator
-
Parses and evaluates mathematical expressions.
- Math Plotter
-
Parses and plots mathematical expressions.
- Prolog Interpreter
-
A reasonably complete interpreter that is able to parse and evaluate basic logic programs.
- Smalltalk Parser
-
Contains the beginnings of a Smalltalk Interpreter. Currently only the parsed AST is printed.
- URI Parser
-
Parses and decomposes URIs into their individual components.
- XML Parser
-
Parses XML files to events, creates and pretty-prints a DOM tree, and evaluates XPath expressions.