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)

expression-compiler
expression-compiler paulalves C#

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

2
chip
chip coldchip C

The Chip Programming Language

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
docast-parse
docast-parse flex-development TypeScript

unified compliant file parser for docast

2
chibicc-wyj
chibicc-wyj wyjoutstanding C

A compiler construction step by step

2
stmdency
stmdency zhongjiajie Python

A Python library for extracting dependencies between statements

2
go-commentage
go-commentage nikolaydubina Go

🐢 how far Go comments drifting behind

2
bscript
bscript gchudnov Scala

BScript - AST Evaluation & Debugging

2
astc
astc josrsorigonal Python

🌲 Abstract Syntax Trees for C in Python.

2
pinata
pinata pasenidis JavaScript

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

2
demucast
demucast zhaoyangbu

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

2
json-parser
json-parser fsossai C++

Top-down and bottom-up parsers for JSON files with C++ API

2
episcopal-lang
episcopal-lang samwalls Java

An AST definition and JVM compiler for "episcopal" language (CS4201 coursework at st-andrews.ac.uk)

2
json-parser
json-parser szivkovicx TypeScript

Mini parser written by me to showcase different stages of JSON parsing process.

2
Static_Code_Analyzer
Static_Code_Analyzer kirill-nasonkin Python

A small linter for python code

2
kama
kama komuw Go

kama prints exported information of types, variables, packages, modules, imports etc. It also pretty prints data structures. It can be used to aid deb...

2
build-compiler-js
build-compiler-js shavidze TypeScript

build-compiler-js is a JavaScript library for building compiler for javascript. It provides a set of tools and utilities to simplify the process of cr...

2
function-name-prediction
function-name-prediction welel Jupyter Notebook

Neural Network predicts the name of a function by it's code snippet.

2
ecma-toolkit
ecma-toolkit Solo-steven TypeScript

A toy parser for ECMAScript.

2
ooxast-util-to-hast
ooxast-util-to-hast TrialAndErrorOrg TypeScript

Convert docx to html (Not working)

2
reoff-parse-references
reoff-parse-references TrialAndErrorOrg TypeScript

default(options: Options = {}): Function;

2
SourceCodeAnnotator
SourceCodeAnnotator theFellandes Python

The source code annotator project for final project

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

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

2
astr
astr sckott R
1
astTool
astTool advancer46 Go

abstract syntax tree Tool

1
go-pylint
go-pylint gdhameeja Go

Port of pylint in Golang

1
print-highlighted-ast
print-highlighted-ast codemodsquad TypeScript

print a babel AST with specific nodes highlighted, for debugging codemods

1
KLMN-Compiler
KLMN-Compiler michgur Java

The JVM toy-compiler framework

1
go-toolsmith.github.io
go-toolsmith.github.io go-toolsmith

Site for combined documentation, examples, external references, and other useful stuff.

1
ast
ast grizz-it PHP

An abstraction layer for creating generated logic.

1
goast
goast wellzz Go
1
monkey
monkey jolisper Go

The monkey programming language - https://interpreterbook.com/

1
stan
stan retailnext Go

A Go (golang) library for writing custom "go vet" style tests

1
tech-presentations
tech-presentations EvanCarroll Python

Teaching resources and presentations I've given

1
astp
astp go-toolsmith Go

Package astp provides AST predicates.

1
go_perf_tracker
go_perf_tracker aman-bansal Go

simple tool to autogenerate timing metrics using go ast

1
gpp
gpp mmirolim Go

Go pre preprocessor (ast hacking experiment)

1
tdast-util-to-html-table
tdast-util-to-html-table tdast JavaScript

tdast utility to serialize tdast to a HTML table

1
easy-gql
easy-gql abihf JavaScript

GraphQL tag: easy mode

1
envision-jsx
envision-jsx jeshicawang JavaScript

A developer tool for visualizing a React application's component hierarchy.

1
txtast-to-html
txtast-to-html textlint HTML

TxtAST to HTML string.

1
strparse
strparse go-toolsmith Go

Package strparse provides convenience wrappers around `go/parser` for simple expr/stmt/decl parsing from string.

1
xylem
xylem aarant Python

Convert Python Abstract Syntax Trees (ASTs) to readable source code.

1
babel-plugin-transform-react-default-props
babel-plugin-transform-react-default-props himynameismartin JavaScript

Overload React component’s defaultProps using .corianderc file

1
graphql-ast-helpers
graphql-ast-helpers Fanatics Go

Golang GraphQL AST helpers over the https://github.com/graphql-go/graphql package

1
VisualScriptTool
VisualScriptTool omidshahbazi
1
Jackson-Immutable-AST
Jackson-Immutable-AST Portfoligno Kotlin

Immutable JSON AST types with first-class Jackson support

1
tdast-util-from-array
tdast-util-from-array tdast JavaScript

tdast utility to transform a JS array into tdast

1
smarty-ast-loader
smarty-ast-loader nicholaslee119 JavaScript

a webpack loader to import smarty template as AST

1
lox
lox dejour TypeScript

lox language

1