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)

php-ast
php-ast php-ast C

Parsing PHP source code using Python and generating ASTs

6
Regex2MDFA
Regex2MDFA BigFish2086 Jupyter Notebook

Input a Regex, get its AST, NFA, DFA and finally it Minimized DFA (Compiler Course Assignment)

6
jsx-compilation
jsx-compilation Sunny-117 JavaScript

🍻 实现 JSX 语法转成 JS 语法的编译器

6
GPJSD
GPJSD pagpeter JavaScript

General purpose JavaScript deobfuscator using deob-transformations

6
nb-autodoc
nb-autodoc nonebot Python

Powerful API Documentation Generator.

6
luna
luna royvandijk06 HTML

LUNA: Library Usage in Node.js Analyzer

6
SharpCalc
SharpCalc awtb C#

Simple mathematical expressions evalulator, created with AST & RD.

6
mpl
mpl kurotakazuki Rust

This is minimal parser combinator of Minimal Parsing Language (MPL) like Top-Down Parsing Language (TDPL).

6
cue-extensions
cue-extensions orpharion Go

CUE extensions

6
mast
mast n0bra1n3r Nim

A simple DSL for defining abstract syntax trees in Nim

6
findpydeps
findpydeps Nicolas-Reyland Python

Find the python dependencies used by your python files and projects

6
pywebidl2
pywebidl2 PrVrSs Python

WebIDL tool written in Python

6
jacinta
jacinta propensive Scala

Simple interfaces for reading, processing and writing JSON in Scala

6
Object-Oriented-Haskell
Object-Oriented-Haskell ejserna Haskell

A Haskell-inspired object oriented programming language!

6
jscodeshift-docs
jscodeshift-docs rajasegar Shell

A Reference Guide for writing JS Codemods

6
decaf-compiler
decaf-compiler kulinshah98 C

C++ implementation of decaf compiler using bison and flex

6
ffripper
ffripper pickwicksoft Python

A fast, powerful and simple to use Audio-CD ripper

6
ast-js
ast-js superfaceai TypeScript
6
js-ast-interpreter
js-ast-interpreter ladjzero JavaScript

A JavaScript based JavaScript interpreter.

6
webpack-ast-traversal-plugin
webpack-ast-traversal-plugin Vidazoo JavaScript

🌲 Plugin that traverse the AST of your code to find specific call expressions.

6
profiler-using-clang-based-ast-instrumentation
profiler-using-clang-based-ast-instrumentation sdasgup3 C++

Clang based AST reformatting tool used for injecting instrumentation code in C/C++ programs. The goal is collecting profiles (run-times and execution...

6
Nova
Nova sriharivishnu C++

A modern Programming Language and interpreter written in C++. Supports functions, variables, and much more!

6
vue-script-parser
vue-script-parser kunaltaitkar JavaScript

This package is used to parse vue script section and it provides an interface to add, update and delete entities of different life cycles hooks of Vue...

6
c-sharp-compiler
c-sharp-compiler dimashky C++

C# Compiler, DU university project.

6
python-type-extractor
python-type-extractor pycodegen Python

Convert python-types to "Type-Nodes" (similar to ASTs) in runtime / WIP... / no docs yet (see test-cases for now - sorry)

6
RustPython-intro
RustPython-intro ruwanego

Introduction to RustPython [WIP]

6
BooleanQueryParser
BooleanQueryParser Ldaxar Java

Java DSL query engine for simple boolean algebra

6
logikk
logikk agneym JavaScript

Logical Expression Visualiser

6
mokuton
mokuton neurosyntax Python

Generate function ASTs from Java code to create type inference dataset

6
tdastscript
tdastscript tdast JavaScript

utility to create tdast trees

6
clicy
clicy aasis21 Java

An Eclipse Plug-In that generates dot format of AST of java File using JDT

6
BigO-Calc
BigO-Calc ncu-psl Python

A static Big-O analysis tool base on Big-O AST

6
korag
korag soywiz-archive Kotlin

*MOVED* https://github.com/korlibs/korui Kotlin cORoutines Accelerated Graphics

6
eslint-plugin-crc
eslint-plugin-crc gregswindle JavaScript

Analyze, model, and refactor JavaScript codebases with auto-generated Class-Responsibility-Collaborator models.

6
wile-goast
wile-goast aalpar Go

Cross-layer static analysis of Go source code, scripted in Scheme

5
python-compiler-GNU-flex-bison
python-compiler-GNU-flex-bison EyasWannous C++

python compiler written in C, cpp ( c++ ), lex and yacc with the assistance of GNU flex & bison

5
ontol
ontol vladimir-skvortsov Python

A tool for parsing and visualizing ontology files written in the Ontol DSL

5
graph-coder
graph-coder gaarutyunov Python

GraphCoder: Transformer Pretrained on Code as Graphs

5
CordellCompiler
CordellCompiler j1sk1ss C

Hobby optimizing compiler for an intentionally usafe C-style system programming language.

5
yukigo
yukigo miyukiproject TypeScript

❄️ A universal, multi-paradigm, multi-language code analyzer highly inspired in mulang

5
libnamumark
libnamumark the-open-seed C

Namumark AST Parser written in C

5
CodeSnapAI
CodeSnapAI turtacn Python

CodeSnapAI compresses massive codebases into ultra-compact semantic snapshots that preserve over 95% of debugging-critical information, resolving the...

5
gaast
gaast YPares Rust

Dimension-agnostic geometric algebra expression evaluation

5
glue-table-cache
glue-table-cache dforsber TypeScript

Query AWS Glue Tables efficiently with DuckDB

5
DLiteScript
DLiteScript Dobefu Go

A delightfully simple scripting language

5
py2cpp
py2cpp programmersd21 Python

Py2CPP - The Ultimate Python to C++ Transpiler 🚀

5
pycleancode
pycleancode pycleancode Python

A Python toolkit to help developers write professional-grade, maintainable, and clean code following clean code principles.

5
es-module-lexer-rs
es-module-lexer-rs Sunny-117 Rust

🦀 A Rust implementation of es-module-lexer with Node.js bindings via napi-rs.

5
roast
roast StyraOSS Go

Roast is an optimized JSON format for Rego ASTs, as well as some common utilities for working with it.

5
evilang
evilang aryan-programmer Rust

A simple interpreted programming language developed in Rust. Name comes from "eval is evil".

5