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

cuss-linter
cuss-linter navyad Python

Finding profanity in code

2
Tower-of-Babel
Tower-of-Babel marat1961 Pascal

Unified algorithms for different programming languages, necessary when porting code from one programming language to another.

2
ast_traverse
ast_traverse slepher Erlang

traverse erlang ast

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
MeggyJava-Compiler
MeggyJava-Compiler jiahao42 Java

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

2
UrduBasic
UrduBasic ameerwasi001 Python

The language Basic taught in many schools as their first language of students, is now implemented in Urdu(ish).

2
nix-d
nix-d lionello D

Lexer, parser, and evaluator for Nix files, written in D-lang

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
Assignment_2020_COMP
Assignment_2020_COMP RodrigoSobral2000 C

Compilers' assignment of a programming language named UC using Lex, Yacc, LLVM and C.

2
objc2robovm
objc2robovm Arcnor Java

RoboVM bindings generator

2
sql-json
sql-json davlxd JavaScript

A Command Line tool reading JSON file by SQL

2
gochu
gochu bbmoz JavaScript

View a graph of your project

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
lambda
lambda null93 Scala

An untyped lambda calculus interpreter written in Scala

2
ast-learning
ast-learning BugUpdater JavaScript

some code about ast demo

2
pyfiql
pyfiql hailpam Python

A Python implementation of the Feed Item Query Language with flexible bindings.

2
Grater
Grater nanyang24 TypeScript

An ECMAScript Parser, according to the ESTree Spec

2
schema
schema zuze-lab JavaScript

Composable/Configurable validation schema, inspired by yup/joi (with AST!)

2
iscan
iscan zzhengnan Python

iscan helps you identify your project's dependencies

2
zenhand
zenhand arccoza JavaScript

Turn a shorthand CSS selector like HTML string into an HTML object.

2
gre
gre jinhailang Go

Go regular expression engine

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
vscode-python-ast-preview
vscode-python-ast-preview azeemba TypeScript

VSCode extension to preview the Python AST of the active file

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
compwhile
compwhile compwhile JavaScript

A JavaScript library for exploring programming languages

2
pug-uses-variables
pug-uses-variables ezhlobo JavaScript

Find all JavaScript variables used in pug template

2
GCCTranslationUnitParser
GCCTranslationUnitParser cleversonledur C++

This is a parser that I created using ANTLR. This parses the translation unit file generated by GCC when using the -fdump-translation-unit flag.

2
radform
radform hennessyevan TypeScript

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

2
parsimmon-experiment
parsimmon-experiment halfzebra TypeScript
2
macaca
macaca cloustone Go

A new language based on Monkey language

2
pretty-format-ast
pretty-format-ast babel-utils JavaScript

Pretty format plugin to print ASTs prettier

2
pyg
pyg walterl Python

PYthon Grep: Python syntax-aware grep

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

This linter plugin for SublimeLinter provides an interface to solhint

2
gherkin-io
gherkin-io gherking TypeScript

Tool to read/write Gherkin feature files and to work with Gherkin-AST

2
REPL
REPL blinky-z C++

A Read–Eval–Print Loop (REPL) and Better Bash Lang & Compiler written in C++

2
gua
gua tsukanov-as Lua

go+lua=gua (experimental programming language)

2
sourcejs-react-dependencies
sourcejs-react-dependencies ndelangen JavaScript

A plugin for SourceJS 0.6.x to display ES modules dependencies in a spec

2
jafjp
jafjp zzyjsj Go

javascript ast for xss jsonP

2
meet-lang-node
meet-lang-node bingxio JavaScript

Meet Programming Language

2
parseva-math
parseva-math nrmancuso Java

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

2
your-language
your-language codinghusi Rust

A full blown compiler generator with a goal of a clear design and huge flexibility. It even gives you access to error handling and further analysis.

2
deno-protoc-parser
deno-protoc-parser keithamus TypeScript

Parse Google Protocol Buffer DSL into an AST, which can be converted into JSON or back into the Protocol Buffer DSL.

2
c0-parser
c0-parser kibaamor C++

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

2
matrix-calculator
matrix-calculator ypaskell Yacc

matrix-calculator syntax parser

2