Programming Languages

Dart

AST Visualizer

Parses Dart 3+ source code into strongly-typed ASTs, supporting records, patterns, switch expressions, and enhanced enums.

Pascal

AST Visualizer

Parses classic Pascal source code implementing the Apple Pascal standard into structured Abstract Syntax Trees.

Python

AST Visualizer

Indentation-aware grammar visualizer for modern Python 3.12+ source code supporting match statements, type aliases, and async constructs.

Smalltalk

AST Visualizer

Complete Smalltalk-80 grammar and AST visualizer, ported from the original Smalltalk Helvetia implementation.

Interpreters & Engines

Lisp Interpreter

Interactive REPL

Scheme-like evaluator supporting lexical scoping, lambda closures, macros, recursion, and native environment inspection.

Prolog Interpreter

Inference Engine

Logic programming inference engine featuring knowledge base rule parsing, SLD-resolution search, and unification.

RegExp Playground

NFA Automata

Parses regular expressions, compiles them to Non-deterministic Finite Automata (NFA), and matches against text with interactive visualization.

Mathematics & Expressions

Math Evaluator

Expression Parser

Parses mathematical expressions with operator precedence, function calls, variables, and renders evaluation trees.

Math Plotter

WebGL 2D & 3D

Parses dynamic multi-variable mathematical formulas with PetitParser's ExpressionBuilder, evaluating ASTs in real time to render animated 2D curves and 3D surfaces in WebGL.

Data Formats & Protocols

BibTeX Browser

Search & Filter

Downloads and parses real-world BibTeX databases directly in your browser with filtering, full-text search, and citation export.

JSON Parser

Benchmark

Compares the performance and parsed output of PetitParser's pure-Dart JSON grammar against the platform native JSON parser.

Markdown Parser

Syntax & HTML

Parses CommonMark and GFM Markdown into typed ASTs with live in-browser syntax highlighting and HTML rendering.

Tabular Text

CSV / TSV

Parses comma-separated (CSV) or tab-separated (TSV) tabular data with robust quote and escape handling into structured records.

URI Parser

RFC 3986

Parses and decomposes Uniform Resource Identifiers (URIs) into their constituent parts according to RFC 3986 specifications.

XML & XPath

DOM & XPath

Stream parses XML events (SAX), creates interactive DOM trees with pretty-printing, and evaluates real-time XPath queries.