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

rocambole-strip-debugger
rocambole-strip-debugger sindresorhus JavaScript

Strip debugger statements from a rocambole AST

3
astify
astify cristaloleg Go

CHAOTIC EVIL PRE-ALPHA WIP

3
astp
astp cristaloleg Go

ARCHIVED, SEE: https://github.com/go-toolsmith/astp Collection of Go AST predicates

3
docsense
docsense MattMcFarland TypeScript

An intelligent documentation generator for Ecmascript, Typescript, and Flowtype

3
First-Compiler
First-Compiler Aleman778 Rust

My first compiler written for course Compiler Construction and Formal Languages D7050E

3
estree-util-is-identifier-name
estree-util-is-identifier-name syntax-tree JavaScript

Check if something can be an ecmascript (javascript) identifier name

3
oscript-parser
oscript-parser prantlf JavaScript

A parser for the OScript language written in JavaScript. With an AST walker, a syntax checker (lint) and a code-executing interpreter.

3
prototype
prototype spiral PHP

[READ ONLY] Automatic dependency injection using AST modifications. Subtree split of the Spiral Prototype component (see spiral/framework)

3
trans
trans rieske C++

Compiler for a subset of the C programming language.

3
vscode-typescript-outline-view
vscode-typescript-outline-view cancerberoSgx TypeScript

vscode extension that shows a friendly representation of current TypeScript/JavaScript source file's AST in the activity bar. Supports filtering and d...

3
AstAnalyserJava
AstAnalyserJava auricombak Java

AST Analyser in Java

3
pyuntype
pyuntype Escape-Technologies Python

Programatically untype your Python code.

3
sm
sm Konstantin8105 Go

symbolic math on Go

3
ast
ast xp-framework PHP

AST for the XP Framework

3
HLang
HLang supragya C

Core shell scripting language design and interpreter proposed for HelenOS's BDSH shell system. Includes prototype implementation using AST and provisi...

3
differentia-javaica
differentia-javaica morisil Java

compare java source files as logical structure

3
arsm
arsm ZippyMagician Rust

A simple version of Assembly, written in Rust

3
calcit-viewer
calcit-viewer calcit-lang Cirru

View for calcit.cirru

3
solidity-pegjs-parser
solidity-pegjs-parser sambacha PEG.js

Solidity Parser for Coverage Testing utilizing new Peggy PEG.js Parser

3
funky
funky luhring Go

A Go (golang) linter that finds mutations.

3
brackets-storage-calls
brackets-storage-calls Drarig29 TypeScript

Creates a list of all storage calls with their signature and parameters

3
ents
ents ckipp01 Scala

Exploring Scala 3 Compiler Trees

3
method-naming
method-naming Castavo Jupyter Notebook

Predicting Python method name given an Abstract Syntax Tree

3
typesitter
typesitter 5c077m4n Rust
3
ts-factory
ts-factory jonnydgreen TypeScript

[WIP] Build and render TypeScript using JSON

3
ralph-antlr4
ralph-antlr4 suyanlong ANTLR

ralph-antlr4

3
explorer
explorer wxmlfile JavaScript

wxmlfile ast explorer

3
ralph-parser-ts
ralph-parser-ts suyanlong TypeScript

ralph language parser

3
rodkina
rodkina steve-care-software Go

Rodkina is a network based data focused programming language

3
naruse-parser
naruse-parser narusejs JavaScript

gzip just 18kb, full es5 & most es6 support, javascript parser and interpreter

3
Parseus
Parseus thumpnail C#

Experimental Parser with Source to Ast to Source Code Generator

3
SSoup
SSoup SSoup64 C

A W.I.P programming language.

3
GPEEE
GPEEE BlvckBytes Java

A very small and versatile parser used to evaluate simple expressions

3
pyastest
pyastest jwiaduck Python

a command line tool to parse, modify, and compare Python Abstract Syntax Trees

3
postfixcalc
postfixcalc mahdihaghverdi Python

Simple and safe math expression evaluator

3
docast
docast flex-development TypeScript

Docblock Abstract Syntax Tree format

3
monkey
monkey 3cham Go

Writing an interpreter in Go

3
gyros
gyros loilo TypeScript

🥙 Transform PHP ASTs the easy way

3
astray
astray giluis Rust

Build ASTs from type definitions

3
Dinghy
Dinghy tdurieux TypeScript

A library to parse and manipulate Dockerfiles

3
snail
snail cool-little-fish Rust

A JavaScript AST Parser written in Rust, inspired by Acorn.

3
eslint-plugin-arrow-function-brace
eslint-plugin-arrow-function-brace hayawata3626 TypeScript

ESLint plugin that checks if the arrow function can remove the brace.

3
esquery-cli
esquery-cli eps1lon JavaScript

Command-line interface for `esquery`

3
rehype-notion
rehype-notion TrialAndErrorOrg TypeScript

Plugin for `rehype` to turn HTML into Notion blocks

3
FAST
FAST moosetechnology Smalltalk

Represent the AST of programing language

3
bfc
bfc zsr2531 C++

A brainfuck interpreter and compiler written in C++

2
DiscordQL
DiscordQL cjavad TypeScript

You ever wanted to browse your discord server from a terminal? Look no further DiscordQL aims to be a CLI interface with your discord bot.

2
LAP
LAP Rerumu Lua

Lua Average Parser

2
Principles-of-Programming-Languages
Principles-of-Programming-Languages omriattal TypeScript

The assignments of the course Principles of Programming Languages in Ben Gurion University, Israel.

2
ng-transforms
ng-transforms ryankuykendall TypeScript

Typescript AST tooling for creating transforms and collecting metadata about Angular projects.

2