Topic

ast

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.

Repositories (1695)

pg-grammar
pg-grammar martianboy JavaScript

Experimental SQL parser for PostgreSQL

2
dart_ast_viewer
dart_ast_viewer mj-hd Dart

AST Viewer for Dart language.

2
executanti
executanti allindevelopers Vue

Reverse engineer and Web version of "Furnica" and "Cangourou"

2
xipe
xipe nikgalushko Go

useful abstractions over go ast

2
tiny-gopiler
tiny-gopiler xxxle0 Go

Build a small Go compiler

2
sxscript
sxscript lofcz C#

Embeddable scripting language for C#. WIP. Goals: async/await, il bytecode, safe by default, performance.

2
tiny-c
tiny-c afnanenayet C

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.

2
another-super-tiny-compiler
another-super-tiny-compiler hanks Python

Python version of the super tiny compiler project

2
pisang
pisang yoshuajoe Go

Pisang is fun.

2
MHL
MHL Artentus Rust

A simple imperative language primarily targeting low-performance microprocessors

2
d8s-python
d8s-python democritus-project Python

Democritus functions for working with Python ASTs.

2
java-code-diff
java-code-diff phinehasz Java

java file tokenized diff based on myers algorithm.

2
trastpiler
trastpiler AgronKabashi JavaScript

Agnostic and extensible transpiler for ASTs

2
go-expression-calculator
go-expression-calculator arxeiss Go

Custom implementation of calculator handling operator precedence and parentheses.

2
doxygen-parser
doxygen-parser openllb Go

A simple parser for doxygen docs

2
matrix-calculator
matrix-calculator ypaskell Yacc

matrix-calculator syntax parser

2
c0-parser
c0-parser kibaamor C++

C0语言的词法分析和抽象语法树(AST)分析器

2
deno-protoc-parser
deno-protoc-parser keithamus TypeScript

Parse Google Protocol Buffer DSL into an AST, which can be converted into JSON or back into the Protocol Buffer DSL.

2
your-language
your-language codinghusi Rust

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.

2
parseva-math
parseva-math nrmancuso Java

Compute mathematical expressions via abstract syntax tree. Built with Java and ANTLR4.

2
meet-lang-node
meet-lang-node bingxio JavaScript

Meet Programming Language

2
jafjp
jafjp zzyjsj Go

javascript ast for xss jsonP

2
gua
gua tsukanov-as Lua

go+lua=gua (experimental programming language)

2
REPL
REPL blinky-z C++

A Read–Eval–Print Loop (REPL) and Better Bash Lang & Compiler written in C++

2
gherkin-io
gherkin-io gherking TypeScript

Tool to read/write Gherkin feature files and to work with Gherkin-AST

2
SublimeLinter-contrib-solhint
SublimeLinter-contrib-solhint idrabenia Python

This linter plugin for SublimeLinter provides an interface to solhint

2
pyg
pyg walterl Python

PYthon Grep: Python syntax-aware grep

2
pretty-format-ast
pretty-format-ast babel-utils JavaScript

Pretty format plugin to print ASTs prettier

2
macaca
macaca cloustone Go

A new language based on Monkey language

2
parsimmon-experiment
parsimmon-experiment halfzebra TypeScript
2
radform
radform hennessyevan TypeScript

⚡️ Headless (Bring your own UI) Drag and Drop Form Builder for React

2
GCCTranslationUnitParser
GCCTranslationUnitParser cleversonledur C++

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.

2
pug-uses-variables
pug-uses-variables ezhlobo JavaScript

Find all JavaScript variables used in pug template

2
compwhile
compwhile compwhile JavaScript

A JavaScript library for exploring programming languages

2
vscode-python-ast-preview
vscode-python-ast-preview azeemba TypeScript

VSCode extension to preview the Python AST of the active file

2
ComBASIC
ComBASIC Tearth C

Simple BASIC compiler based on the old language dialects.

2
Symbol-Table-and-AST
Symbol-Table-and-AST nazaninsbr Java

Implementing AST and Symbol Table for Smoola and producing errors

2
gre
gre jinhailang Go

Go regular expression engine

2
zenhand
zenhand arccoza JavaScript

Turn a shorthand CSS selector like HTML string into an HTML object.

2
iscan
iscan zzhengnan Python

iscan helps you identify your project's dependencies

2
schema
schema zuze-lab JavaScript

Composable/Configurable validation schema, inspired by yup/joi (with AST!)

2
Grater
Grater nanyang24 TypeScript

An ECMAScript Parser, according to the ESTree Spec

2
pyfiql
pyfiql hailpam Python

A Python implementation of the Feed Item Query Language with flexible bindings.

2
ast-learning
ast-learning BugUpdater JavaScript

some code about ast demo

2
lambda
lambda null93 Scala

An untyped lambda calculus interpreter written in Scala

2
LightScript
LightScript Spriithy Java

The LightScript Compiler & Embed in Java RT environment

2
io.parsek
io.parsek andr83 Scala

Scala library for building ETL pipelines in functional way.

2
clast
clast nikhilkalige C++

Clang AST Matchers bindings for 8.x release

2
sql-json
sql-json davlxd JavaScript

A Command Line tool reading JSON file by SQL

2
objc2robovm
objc2robovm Arcnor Java

RoboVM bindings generator

2