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.
Experimental SQL parser for PostgreSQL
AST Viewer for Dart language.
Reverse engineer and Web version of "Furnica" and "Cangourou"
useful abstractions over go ast
Build a small Go compiler
Embeddable scripting language for C#. WIP. Goals: async/await, il bytecode, safe by default, performance.
Work from my compilers class, in which we implemented an AST, a few optimizations, and linear scan register allocation for a subset of the C language.
Python version of the super tiny compiler project
Pisang is fun.
A simple imperative language primarily targeting low-performance microprocessors
Democritus functions for working with Python ASTs.
java file tokenized diff based on myers algorithm.
Agnostic and extensible transpiler for ASTs
Custom implementation of calculator handling operator precedence and parentheses.
A simple parser for doxygen docs
matrix-calculator syntax parser
C0语言的词法分析和抽象语法树(AST)分析器
Parse Google Protocol Buffer DSL into an AST, which can be converted into JSON or back into the Protocol Buffer DSL.
A full blown compiler generator with a goal of a clear design and huge flexibility. It even gives you access to error handling and further analysis.
Compute mathematical expressions via abstract syntax tree. Built with Java and ANTLR4.
Meet Programming Language
javascript ast for xss jsonP
go+lua=gua (experimental programming language)
A Read–Eval–Print Loop (REPL) and Better Bash Lang & Compiler written in C++
Tool to read/write Gherkin feature files and to work with Gherkin-AST
This linter plugin for SublimeLinter provides an interface to solhint
PYthon Grep: Python syntax-aware grep
Pretty format plugin to print ASTs prettier
A new language based on Monkey language
⚡️ Headless (Bring your own UI) Drag and Drop Form Builder for React
This is a parser that I created using ANTLR. This parses the translation unit file generated by GCC when using the -fdump-translation-unit flag.
Find all JavaScript variables used in pug template
A JavaScript library for exploring programming languages
VSCode extension to preview the Python AST of the active file
Simple BASIC compiler based on the old language dialects.
Implementing AST and Symbol Table for Smoola and producing errors
Go regular expression engine
Turn a shorthand CSS selector like HTML string into an HTML object.
iscan helps you identify your project's dependencies
Composable/Configurable validation schema, inspired by yup/joi (with AST!)
An ECMAScript Parser, according to the ESTree Spec
A Python implementation of the Feed Item Query Language with flexible bindings.
some code about ast demo
An untyped lambda calculus interpreter written in Scala
The LightScript Compiler & Embed in Java RT environment
Scala library for building ETL pipelines in functional way.
Clang AST Matchers bindings for 8.x release
A Command Line tool reading JSON file by SQL
RoboVM bindings generator