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)

LambCompiler
LambCompiler jiahao42 C++

Compiler for a subset of ANSI C, base on virtual machine (unfinished)

9
language-js
language-js diasbruno Haskell

Parser for es6 and es7.

9
svelte-markup-walker
svelte-markup-walker kaisermann TypeScript

A Svelte preprocessor that allows to walk through the AST generated by the svelte parser and modify the markup with MagicString.

9
Geetest-Captcha-Crack
Geetest-Captcha-Crack tamya2020 JavaScript

Geetest 极验3代滑动验证 | 从 JavaScript 层面一步步逆向破解

9
idea-solidity-solhint
idea-solidity-solhint protofire Kotlin

JetBrains IDEA plugin to provide Solhint code verification

9
ideas
ideas syntax-tree

Share ideas for new utilities and tools built with @syntax-tree

9
sdl
sdl railt PHP

[READ ONLY] Subtree split of the Railt SDL component (see railt/railt)

9
module-definition
module-definition dependents JavaScript

Determines whether a JavaScript file is in the CommonJS, AMD, or ES6 format

9
saplings
saplings shobrook Python

Analyze usage patterns of imported modules in a Python program

9
md4qt
md4qt igormironchik C++

Markdown parser for Qt6 or ICU

9
gherkin-formatter
gherkin-formatter gherking TypeScript

Tool to format gherkin-ast model to gherkin string

9
js_ast
js_ast NautilusJS Java

Parses JavaScript source code to build an AST

9
Compiler
Compiler VladimirBalun C++

🎓 Implementation of the primitive compiler without popular tools like LLVM for abstract programming language.

9
gopy
gopy Samyak2 Python

A compiler frontend for a subset of Go written in Python

9
selery
selery danburzo JavaScript

A CSS selector parser and DOM query engine.

9
opine
opine ArulselvanMadhavan OCaml

Opine is an OCaml library that unparses the python AST produced by pyre-ast library back to python source code.

9
cl-bnf
cl-bnf diasbruno Common Lisp

A simple BNF parser.

9
JOECC
JOECC jesings C

Jonathan's Optimizing and Extensible C Compiler (pronounced "joke"), called as such because the name, just like any attempt to use the compiler in pla...

9
tslox
tslox jeroenptrs TypeScript

jlox implementation in Typescript

9
static-pdg-js
static-pdg-js Aurore54F Python

Static JavaScript Analysis: AST, Control Flow, Data Flow, & Pointer Analysis

9
gherkin-ast
gherkin-ast gherking TypeScript

JS model for Gherkin feature files to build and work with feature files in your code, using an AST.

9
oracle-sql-parser
oracle-sql-parser sjjian Yacc

this is a yacc (goyacc) oracle sql parser.

9
Node-Estree
Node-Estree fraxken TypeScript

Complete and compliant ESTree spec implementation in TypeScript

9
candice
candice gabivlj Go

Candice, a dead simple language and multi-platform.

9
toml-eslint-parser
toml-eslint-parser ota-meshi TypeScript

A TOML parser that produces output compatible with ESLint

9
go-js-parser
go-js-parser 0xVesion Go

A JavaScript parser, written in Go.

9
query-translator-demo
query-translator-demo netgen PHP

Demo project for the Query Translator library

8
walnut.v1
walnut.v1 p-ranav C++

The Walnut programming language

8
humanize
humanize goraz Go

DEPRICATED : A simple human friendly :) ast representation for go, new version at https://github.com/fzerorubigd/humanize

8
jazzle-parser
jazzle-parser JazzleWare JavaScript

relatively small and ridiculously fast parser for all versions of ECMAScript/Javascript, written in the greatest common divisor of all versions of ECM...

8
fql
fql apicart PHP

Filter Query Language (FQL)

8
remark-vue-loader
remark-vue-loader mactavishz JavaScript

A webpack loader that transforms your Markdown to Vue Single-file Component

8
solhint
solhint tokenhouse JavaScript

PROJECT MOVED TO https://github.com/protofire/solhint

8
Hinton
Hinton hinton-lang Rust

A simple interpreter, written in Rust, for a programming language called Hinton.

8
dbge
dbge aranega Python

An extension to IPdb for Python >= 3.11 that supports bytecode stepping, sub-expression stepping/breakpoints, object-centric breakpoints and experimen...

8
vscode-gogrep
vscode-gogrep quasilyte TypeScript

Structural, syntax-aware search for Go code for VS Code.

8
json-schema-to-php-ast
json-schema-to-php-ast open-code-modeling PHP

Provides factories to create PhpParser node visitors or PHP Code AST class builder objects from JSON schema e. g. value objects

8
astrologic
astrologic pomponchik Python

Автоматическая оптимизация кода на уровне AST

8
aura
aura RootLUG Python

Project Aura: Security auditing and code introspection

8
glox
glox iamsayantan Go

Golang implementation for the Lox language from the book Crafting Interpreters (http://craftinginterpreters.com/).

8
postdfm
postdfm spiltcoffee TypeScript

Provides an API for easily transforming Delphi Forms

8
dethklok
dethklok orsinium-labs Python

The most uncompromising Python code formatter ever!

8
NGG
NGG alexdremov C++

"Never gonna give you up" programming language

8
god-programming-language
god-programming-language Lexterl33t Go

I present you a small programming language that I created in golang

8
vartan
vartan nihei9 Go

An LALR parser generator for golang

8
QoLang
QoLang QoLang Python

The Qo Programming Language

8
ssaviewer
ssaviewer kkHAIKE Go

a simple Golang SSA viewer tool that can be used for code analysis or to create a linter

8
expression-language.js
expression-language.js slince TypeScript

🌴 An engine that can compile and evaluate expressions written in typescript

8
solidity-parser-explorer
solidity-parser-explorer sambacha C

Solidity and Yul syntax-aware highlighting and AST explorer

8
iamfast-vscode
iamfast-vscode iann0036 TypeScript

AWS IAM policy generation from application code in VS Code

8