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

inspect-ast
inspect-ast danielstjules JavaScript

A better way to view a compact JS abstract syntax tree

2
pongo
pongo dpakach Go

A simple interpreter

2
ast-plugin
ast-plugin lint-md TypeScript

The simplest abstract syntax tree walker, similar with @Babel plugin.

2
clangCallHierarchy
clangCallHierarchy jzhang46 C

Get the objective-c call-hierarchy information of an Xcode project using libClang

2
jgular.js
jgular.js genkio JavaScript

Reinventing the wheel, building angular.js from scratch

2
Barklang
Barklang WMXPY TypeScript

:dog: If there are no dogs in Heaven, then when I die I want to go where they went.

2
yaml-eslint-parser
yaml-eslint-parser ota-meshi TypeScript

A YAML parser that produces output compatible with ESLint

2
MeggyJava-Compiler
MeggyJava-Compiler jiahao42 Java

Compiler (parsing, code gen, type cast/checking) for MeggyJava (including variable/function/class)

2
snapdragon-bracket
snapdragon-bracket here-be JavaScript

Plugin that adds a `.captureSet()` method to snapdragon, for matching and capturing substrings that have an `open` and `close`, like braces, brackets,...

2
BLACKBOX
BLACKBOX INFINITE-TECHNOLOGY Groovy

Logging code automation solution

2
tver
tver vhgn C++

Friendly simple calculator

2
clast
clast nikhilkalige C++

Clang AST Matchers bindings for 8.x release

2
io.parsek
io.parsek andr83 Scala

Scala library for building ETL pipelines in functional way.

2
LightScript
LightScript Spriithy Java

The LightScript Compiler & Embed in Java RT environment

2
ast-learning
ast-learning BugUpdater JavaScript

some code about ast demo

2
Grater
Grater nanyang24 TypeScript

An ECMAScript Parser, according to the ESTree Spec

2
JavaFyPy
JavaFyPy maldil Java

adapting Java AST mining tools to Python

2
iscan
iscan zzhengnan Python

iscan helps you identify your project's dependencies

2
goldmark-markdown
goldmark-markdown teekennedy Go

Goldmark extension that renders and formats markdown files

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

Implementing AST and Symbol Table for Smoola and producing errors

2
ComBASIC
ComBASIC Tearth C

Simple BASIC compiler based on the old language dialects.

2
ecma-toolkit
ecma-toolkit Solo-steven TypeScript

A toy parser for ECMAScript.

2
analyzing-and-transforming-abstract-syntax
analyzing-and-transforming-abstract-syntax python-supply Jupyter Notebook

Python's built-in libraries include powerful tools for retrieving and operating over abstract syntax trees. This article provides an overview of how t...

2
demucast
demucast zhaoyangbu

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

2
pydocspec
pydocspec tristanlatr Python

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

2
sast-to-ast-export
sast-to-ast-export Checkmarx Go

CLI tool to export data from CxSAST and import into Checkmarx Application Security Testing Platform

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
radform
radform hennessyevan TypeScript

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

2
combustion
combustion Matthias-Fauconneau Rust

Reaction rates and transport properties

2
parsimmon-experiment
parsimmon-experiment halfzebra TypeScript
2
pretty-format-ast
pretty-format-ast babel-utils JavaScript

Pretty format plugin to print ASTs prettier

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

This linter plugin for SublimeLinter provides an interface to solhint

2
pinata
pinata pasenidis JavaScript

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

2
gua
gua tsukanov-as Lua

go+lua=gua (experimental programming language)

2
jafjp
jafjp zzyjsj Go

javascript ast for xss jsonP

2
chibicc-wyj
chibicc-wyj wyjoutstanding C

A compiler construction step by step

2
jasat
jasat r17x JavaScript

Codemod for JavaScript Stuff (Jasat is shortname)

2
chip
chip coldchip C

The Chip Programming Language

2
parseva-math
parseva-math nrmancuso Java

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

2
expression-compiler
expression-compiler paulalves C#

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

2
dart_ast_viewer
dart_ast_viewer mj-hd Dart

AST Viewer for Dart language.

2
d8s-python
d8s-python democritus-project Python

Democritus functions for working with Python ASTs.

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

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

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

java file tokenized diff based on myers algorithm.

2
sxscript
sxscript lofcz C#

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

2
MHL
MHL Artentus Rust

A simple imperative language primarily targeting low-performance microprocessors

2
trastpiler
trastpiler AgronKabashi JavaScript

Agnostic and extensible transpiler for ASTs

2
c0-parser
c0-parser kibaamor C++

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

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
doxygen-parser
doxygen-parser openllb Go

A simple parser for doxygen docs

2