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 (1548)

doxygen-parser
doxygen-parser openllb Go

A simple parser for doxygen docs

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

Custom implementation of calculator handling operator precedence and parentheses.

2
trastpiler
trastpiler AgronKabashi JavaScript

Agnostic and extensible transpiler for ASTs

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

java file tokenized diff based on myers algorithm.

2
d8s-python
d8s-python democritus-project Python

Democritus functions for working with Python ASTs.

2
MHL
MHL Artentus Rust

A simple imperative language primarily targeting low-performance microprocessors

2
pisang
pisang yoshuajoe Go

Pisang is fun.

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

Python version of the super tiny compiler project

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
sxscript
sxscript lofcz C#

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

2
tiny-gopiler
tiny-gopiler xxxle0 Go

Build a small Go compiler

2
xipe
xipe nikgalushko Go

useful abstractions over go ast

2
executanti
executanti allindevelopers Vue

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

2
dart_ast_viewer
dart_ast_viewer mj-hd Dart

AST Viewer for Dart language.

2
pg-grammar
pg-grammar martianboy JavaScript

Experimental SQL parser for PostgreSQL

2
combustion
combustion Matthias-Fauconneau Rust

Reaction rates and transport properties

2
JavaFyPy
JavaFyPy maldil Java

adapting Java AST mining tools to Python

2
jasat
jasat r17x JavaScript

Codemod for JavaScript Stuff (Jasat is shortname)

2
qC
qC alexpnt C

qC - A compiler for a subset of the C language

2
yamler
yamler AmrDeveloper Dart

YAML modification program to parse, generate and modify yaml code and comments

2
pydocspec
pydocspec tristanlatr Python

Pydocspec is a object specification for representing API documentation of a collection of related python modules.

2
COOL_COMPILER
COOL_COMPILER TUJJIEVE Java

Cool compiler created with LLVM IR as intermediate code

2
eclipse-extensions
eclipse-extensions MaisiKoleni Java

Eclipse Extensions by Christian Femers mainly for JDT

2
babel-plugin-exercise
babel-plugin-exercise inblossoms JavaScript

⚙️learn about babel under the hood

2
vverilog
vverilog hamidb80 Nim

Verilog parser in nim

2
expression-compiler
expression-compiler paulalves C#

A simple expression compiler, without libraries, written entirely in C#

2
chip
chip coldchip C

The Chip Programming Language

2
PHP-Parser
PHP-Parser Verdancy PHP

PHP-Parser is a PHP parser written in PHP, designed to make it easy to analyze and manipulate PHP code. It supports PHP versions 5.2 to 8.1 and can be...

2
docast-parse
docast-parse flex-development TypeScript

unified compliant file parser for docast

2
chibicc-wyj
chibicc-wyj wyjoutstanding C

A compiler construction step by step

2
stmdency
stmdency zhongjiajie Python

A Python library for extracting dependencies between statements

2
go-commentage
go-commentage nikolaydubina Go

🐢 how far Go comments drifting behind

2
bscript
bscript gchudnov Scala

BScript - AST Evaluation & Debugging

2
astc
astc josrsorigonal Python

🌲 Abstract Syntax Trees for C in Python.

2
pinata
pinata pasenidis JavaScript

A JavaScript bundler that makes modern code run inside a browser.

2
demucast
demucast zhaoyangbu

Demucast is a hybrid model for salving music genre classification problem.

2
json-parser
json-parser fsossai C++

Top-down and bottom-up parsers for JSON files with C++ API

2
episcopal-lang
episcopal-lang samwalls Java

An AST definition and JVM compiler for "episcopal" language (CS4201 coursework at st-andrews.ac.uk)

2
json-parser
json-parser szivkovicx TypeScript

Mini parser written by me to showcase different stages of JSON parsing process.

2
Static_Code_Analyzer
Static_Code_Analyzer kirill-nasonkin Python

A small linter for python code

2
kama
kama komuw Go

kama prints exported information of types, variables, packages, modules, imports etc. It also pretty prints data structures. It can be used to aid deb...

2
build-compiler-js
build-compiler-js shavidze TypeScript

build-compiler-js is a JavaScript library for building compiler for javascript. It provides a set of tools and utilities to simplify the process of cr...

2
function-name-prediction
function-name-prediction welel Jupyter Notebook

Neural Network predicts the name of a function by it's code snippet.

2
ecma-toolkit
ecma-toolkit Solo-steven TypeScript

A toy parser for ECMAScript.

2
ooxast-util-to-hast
ooxast-util-to-hast TrialAndErrorOrg TypeScript

Convert docx to html (Not working)

2
reoff-parse-references
reoff-parse-references TrialAndErrorOrg TypeScript

default(options: Options = {}): Function;

2
SourceCodeAnnotator
SourceCodeAnnotator theFellandes Python

The source code annotator project for final project

2
jast-util-from-csl
jast-util-from-csl TrialAndErrorOrg TypeScript

Transform a CSL list or object to a [jast][jast] node.

2
astr
astr sckott R
1
astTool
astTool advancer46 Go

abstract syntax tree Tool

1