Most popular ast repositories and open source projects

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.

goql

A golang source code scanner, this time in sql :)

14   308   308  

tsutils

utility functions for working with typescript's AST

27   306   306  

vscode-blockman

VSCode extension to highlight nested code blocks

16   305   305  

esmangle

esmangle is mangler / minifier for Mozilla Parser API AST

38   289   289  

valast

Convert Go values to their AST

13   287   287  

SwiftPascalInterpreter

Simple Swift interpreter for the Pascal language inspired by the Let’s...

17   281   281  

excellent_migrations

An Elixir tool for checking safety of database migrations.

35   270   270  

go-instrument

⚡️ Automatically add Trace Spans to Go methods and functions

9   267   267  

ast

Generic AST parsing library for kotlin multiplatform

20   267   267  

gengen

A Go source transformation tool for generics

13   261   261  

bellybutton

Custom Python linting through AST expressions

13   258   258  

js-sql-parser

SQL(select) parser written with jison. parse SQL into abstract syntax...

46   256   256  

klara

Automatic test case generation for python and static analysis library

16   250   250  

gulp-strip-debug

Strip console, alert, and debugger statements from JavaScript code

19   249   249  

sql-parser

Parse SQL (select) statements into abstract syntax tree (AST) and conv...

49   247   247  

json-to-ast

JSON AST parser

36   245   245  

AST-query

Tentative to a simple JavaScript AST modification library

27   239   239  

phplrt

PHP Language Recognition Tool

6   235   235  

ucast

Conditions query translator for everything

24   233   233  

phpgrep

Syntax-aware grep for PHP code.

12   228   228  

AST-query

Tentative to a simple JavaScript AST modification library

26   227   227  

node-precinct

Unleash the detectives

36   227   227  

astpath

A command-line search utility for Python ASTs using XPath syntax.

57   226   226  

snapdragon

snapdragon is an extremely pluggable, powerful and easy-to-use parser-...

25   225   225  

cub

The Cub Programming Language

18   224   224  

HRDevHelper

Context-sensitive HexRays decompiler plugin that visualizes the ctree...

28   222   222  

bash-parser

Parses bash into an AST

37   214   214  

refactor

Simple python source refactoring toolkit based on AST

5   209   209  

esprima-python

ECMAScript parsing infrastructure for multipurpose analysis

47   208   208  

query-translator

Query Translator is a search query translator with AST representation

11   206   206  

martian

Markdown to Notion: Convert Markdown and GitHub Flavoured Markdown to...

34   204   204  

llvm-guide-zh

User Guides For those new to the LLVM system.(LLVM系统的新用户指南,中...

37   198   198  

parser

A lexer and parser for GraphQL in .NET

38   198   198  

Trace

A Chrome extension for web analytics

48   195   195  

self_cell

Safe-to-use proc-macro-free self-referential structs in stable Rust.

11   194   194  

ast-i18n

Easily migrate your existing React codebase to use i18n

15   194   194  

py2many

Python to CLike languages transpiler

16   192   192  

typo3-rector

Rector for TYPO3

54   190   190  

astq

Abstract Syntax Tree (AST) Query Engine

15   188   188  

js-ziju

Compile javascript to LLVM IR, x86 assembly and self interpreting

10   186   186  

unimport

:rocket: A linter, formatter for finding and removing unused import st...

19   185   185  

BBob

⚡️Blazing fast js bbcode parser, that transforms and parses bbcode to...

21   185   185  

cppparser

A library to parse C/C++ source as AST

29   184   184  

libpypa

libpypa is a Python parser implemented in pure C++

49   182   182  

html5parser

A super tiny and fast html5 AST parser.

26   181   181  

astpath

A command-line search utility for Python ASTs using XPath syntax.

47   180   180  

public

util toolkit for go.golang 通用函数包

64   177   177  

libpypa

libpypa is a Python parser implemented in pure C++

41   176   176  

nlcst

Natural Language Concrete Syntax Tree format

9   173   173  

exhaustive

Check exhaustiveness of switch statements of enum-like constants in Go...

10   173   173