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)

simple-shortcode-parser
simple-shortcode-parser AubreyHewes TypeScript

A simple shortcode parser

4
vscode-phpgrep
vscode-phpgrep quasilyte TypeScript

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

4
skope
skope divyamamgai JavaScript

Get Global Declarations and Dependencies of a JavaScript resource.

4
meet-lang
meet-lang bingxio Go

Meet Programming Language Interpreter

4
JavaCodeParser
JavaCodeParser TruX-DTF Java

Convert a Java code fragment into an AST or a simple code tree.

4
ast
ast sequeljs TypeScript

@sequeljs/ast is a SQL AST manager for JavaScript.

4
Gago
Gago glaukiol1 Go

Interpreted Programming Language built in Go. Lexer, Parser, AST, VM.

4
hail-old
hail-old hail-lang Rust

a systems programming language that doesn't suck

4
compiler-course-project
compiler-course-project tornado80 Python

Pascal language compiler

4
Movie_Recommendation_System
Movie_Recommendation_System VGandhi27 Jupyter Notebook

The movies are recommended based on the content of the movie you entered or selected. The main parameters that are considered for the recommendations...

4
llang
llang lhwdev Kotlin

🚧 A toy project aiming a very good programming language..!

4
antlr-md
antlr-md WumaCoder TypeScript

使用 antlr4 开发的 markdown 解析器.

4
fluentcst
fluentcst argyle-engineering Python

An ergonomic way to build Python Concrete Syntax Trees.

4
goastpy
goastpy itayg25 Python

python wrapper for the built-in golang ast parser

4
django-translate-gettext
django-translate-gettext alpden550 Python

Updating django-apps files fields and wrapping it with gettext calling

4
lib.html
lib.html LambdAurora TypeScript

An HTML AST, parser, and writer library written in TypeScript.

4
code-comment-generator
code-comment-generator sameer52718 JavaScript

Automatically generate descriptive comments (JSDoc-style or inline) for JavaScript and TypeScript code using AST parsing.

4
E
E kraftwerk28 Python

A tremendously simple keyword-free functional programming language (concept)

3
asteroid
asteroid pnavarrc JavaScript

Proof of Concept - Generating ESLint rules from test cases

3
astx
astx amanvir JavaScript

Query JavaScript ASTs via xpath

3
jcompiler
jcompiler jrbeverly Java

A Joos programming language compiler, written in Java.

3
estransducers
estransducers awto JavaScript

DEPRECATED: Transducer as alternative to visitors for ESTree AST traversal (moved into https://github.com/awto/effectfuljs/tree/master/packages/transd...

3
migration-artefacts
migration-artefacts deprecated-packages PHP
3
prisma2-sdl
prisma2-sdl jednano TypeScript

Parses a subset of the Prisma 2 schema definition language

3
parser
parser WattLang C++

The parser for Watt

3
miniVue
miniVue ccbyland JavaScript

在尽可能保持与vue2.x项目结构一致的同时,精简非核心代码,通过案例的形式描述vue核心(解析器-优化器-生成器-render函数-vnode-patch)闭环流程,易于对比vue...

3
Autopsy
Autopsy areller C#

Interact with Compiled Delegates' Syntax Trees Dynamically

3
MiniJava
MiniJava Tetr4 Java

MIPS Compiler for MiniJava using JFlex, Beaver and JastAdd

3
mich-parse-selector
mich-parse-selector tunnckoCore JavaScript

Tiny parser for simple CSS selectors, just in ~300 bytes. Pretty similar to what is done in Hyperscript

3
Calculator
Calculator mohitisgreat Java

A next generation calculator

3
ariel
ariel ibatullin C++

Relational algebra for C++/Qt

3
mich-to-html
mich-to-html tunnckoCore JavaScript

Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.

3
phpgrep-contrib
phpgrep-contrib quasilyte Shell

Extra utilities and docs for the phpgrep

3
abnfa
abnfa ZxxLang JavaScript

Migrated to https://gitlab.com/zxxlang/abnfa

3
graphql-paths-to-ast
graphql-paths-to-ast imranolas JavaScript

Transforms a list of object get paths to a GraphQL query

3
snapdragon-cheerio
snapdragon-cheerio here-be JavaScript

Snapdragon plugin for converting a cheerio AST to a snapdragon AST.

3
OrchLang
OrchLang BarkingBad Python
3
tempar
tempar XiaocongDong JavaScript

Lightweight template parser for anything.

3
hunt-sql
hunt-sql huntlabs D

SQL parser library for D programming language.

3
protobuf-ast-helpers
protobuf-ast-helpers Fanatics Go

Golang protobuf AST helpers over the https://github.com/jhump/protoreflect/desc package

3
JParseCode
JParseCode TeamworkGuy2 Java

An in-progress suite of parsing/transpilation tools for C#, Java, and TypeScript code. Generates simple JSON ASTs.

3
CodeTranslate
CodeTranslate jackdavidweber Python

CodeTranslate is a one-stop site for developers to rapidly scale-up in unfamiliar languages without having to memorize syntax, follow tutorials, or re...

3
rocambole-strip-console
rocambole-strip-console sindresorhus JavaScript

Strip console statements from a rocambole AST

3
goloc
goloc PaulSonOfLars Go

Simple string extraction tool for translation purposes

3
Automatic-Sentence-Simplification
Automatic-Sentence-Simplification dhruvp-8 Python

Given a sentence this tool will simplify the sentence. This will be a Lexical Simplification

3
surface
surface emaiannone Java

Surface (Java SecURity FlAws metriCs Extractor) - A lightweight command-line tool for computing security metrics from Java classes

3
ast2template
ast2template pingdai Go

auto generate template from gorm model struct,like select/upadate/insert and so on.

3
clast
clast olewhalehunter Common Lisp

Common Lisp Abstract Snytax Tree manipulation

3
code-generator
code-generator melwyn95 Go

slides and code examples for talk on code generators in Go

3
the-super-tiny-compiler-cn
the-super-tiny-compiler-cn Xing-Chuan JavaScript

200行代码实现的极简编译器

3