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

toon-lang
toon-lang vanhtuan0409 C

A toy typed-check compiled language

5
astbuilders
astbuilders tdakkota Go

Go AST utility package

5
elm-dot-lang
elm-dot-lang brandly Elm

DOT Language

5
spiker
spiker shockerli Go

A Go package implementation of real-time computing

5
c2vb
c2vb Gesrua Python

A program convert simple C / C++ code to Visual Basic 6 code

5
astfmt
astfmt go-toolsmith Go

Package astfmt implements ast.Node formatting with fmt-like API.

5
JavaIntelligence
JavaIntelligence hackingtothesource HTML

static analysis/refactoring tool for Java code based on abstract syntax tree and symbol solving

5
flatB-Compiler-and-Interpreter
flatB-Compiler-and-Interpreter chaitanya100100 C++

Compiler and Interpreter for a c-like language flatB using flex scanner, bison parser and llvm code generator framework

5
tinylr
tinylr alextsao1999 C++

a tiny lalr and glr generator that can generate json ast

5
vue-ast-utils
vue-ast-utils privatenumber TypeScript

Utils for working with Vue 3 AST nodes

5
gwion-util
gwion-util Gwion C

Gwion lexer, parser and absyn

5
pyuml
pyuml chenjd Python

A toy project that generates UML diagrams of Python code by parsing the abstract syntax tree of the target Python code.

5
exun
exun Nazari Elixir

Symbolic math for elixir. Units, Pattern matching, Derivate, Integrate, Multiprocess and more

5
pytest-soft-assertions
pytest-soft-assertions okorolev Python
5
go-c
go-c dxkite Go

a c parser

5
java-doc
java-doc dongbow Java

解析java语法树(AST),获取基本属性和注释等

5
python-as3
python-as3 eigenein Python

Adobe ActionScript 3 interpreter in Python (incomplete)

5
barista
barista deprecated-packages PHP

The Barista explores every Latte (file) for strict quality, helps with Latte 2 to 3 upgrade

5
ncndi
ncndi DanteFalzone0 Python

MPL Programming Language: an interpreted programming language by Dante Falzone

5
simpleCalculator
simpleCalculator Plasmaa0 C++

Simple CLI Calculator Project

5
syntax-visualizer
syntax-visualizer InnoSWP TypeScript
5
krunkscript-pwn
krunkscript-pwn j4k0xb TypeScript

Extract/deobfuscate/hook/inject maps with KrunkScript enabled

5
groovydebug
groovydebug lbgf Java

一种利用java修改groovy语法树的调试方法,就是代码断点和变量获取

5
sast-to-ast-export
sast-to-ast-export Checkmarx Go

CLI tool to export data from CxSAST and import into AST CxOne

5
plageWatch
plageWatch 1itachi JavaScript

Web app to detect plagiarism is javascript files. Provides the percentage of plagiarism found with file to file comparison. Built using TypeScript, Re...

5
open-cds-parser
open-cds-parser zkud Rust

Open Sourced and Reusable AST & Parser for SAP CAP CDS

5
search-space
search-space danielorlando97 Jupyter Notebook

Python's DSL to describe the search space of search problems

5
pas2wat
pas2wat asyncze Rust

Compiler for subset of Pascal targeting WebAssembly text-format

5
find-unused-import
find-unused-import Agent-Hellboy Python

Tool to find unused imports this can be configured in CI/CD pipeline to avoid people to merge code having unused imports

5
Group4
Group4 ML4SE2022 C#

Fine-tuning CodeBERT with AST-based Vectors for Code Translation

5
bermuda
bermuda project-transparent Java

Bermuda is a modular framework for making powerful Javac compiler plugins.

5
0x6b73746b
0x6b73746b jmaczan Rust

Tree-Walk interpreter

5
awesome-ast-parsers
awesome-ast-parsers ishanvyas22

😎 A curated list of awesome parsers to parse code into an Abstract Syntax Tree (AST).

5
rowan-nom
rowan-nom edgarogh Rust

Build rowan green ASTs using nom parsers

5
linguado
linguado Caralludo Python

A tool for compare AST's

5
elixir_scope
elixir_scope nshkrdotcom Elixir

Revolutionary AST-based debugging and code intelligence platform for Elixir applications

5
evilang
evilang aryan-programmer Rust

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

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
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
pycleancode
pycleancode pycleancode Python

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

5
py2cpp
py2cpp programmersd21 Python

Py2CPP - The Ultimate Python to C++ Transpiler 🚀

5
DLiteScript
DLiteScript Dobefu Go

A delightfully simple scripting language

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

Query AWS Glue Tables efficiently with DuckDB

5
gaast
gaast YPares Rust

Dimension-agnostic geometric algebra expression evaluation

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
code-vecs
code-vecs worldbeater Jupyter Notebook

Code for the methods and algorithms described in the paper "Analysis of Program Representations Based on Abstract Syntax Trees and Higher-Order Markov...

5
libnamumark
libnamumark the-open-seed C

Namumark AST Parser written in C

5
yukigo
yukigo miyukiproject TypeScript

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

5
CordellCompiler
CordellCompiler j1sk1ss C

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

5
graph-coder
graph-coder gaarutyunov Python

GraphCoder: Transformer Pretrained on Code as Graphs

5