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

snapdragon-is-inside
snapdragon-is-inside here-be JavaScript

Snapdragon plugin that adds an `isInside` method to the compiler instance for checking if a node is currently inside a given node type.

2
simplecc
simplecc cgsdfc C++

A simple yet modular C-like compiler

2
ng-transforms
ng-transforms ryankuykendall TypeScript

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

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
LAP
LAP Rerumu Lua

Lua Average Parser

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
bfc
bfc zsr2531 C++

A brainfuck interpreter and compiler written in C++

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
gochu
gochu bbmoz JavaScript

View a graph of your project

2
splinter
splinter sparkbox JavaScript

🐭 Parse and split SCSS files based on functions and mixins.

2
SimpleScript
SimpleScript aeckardt C++

Test Automation Script using Qt

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
dogma-css-parser
dogma-css-parser dogma-io JavaScript

CSS parser and compiler

1
dogma-html-parser
dogma-html-parser dogma-io JavaScript

HTML parser and compiler

1
archaize-js
archaize-js bergsans JavaScript
1
Compiler-Theory-And-Practice
Compiler-Theory-And-Practice RazNayr Java

Implementation of a Java compiler for a small programming language

1
ToyLang
ToyLang ladroid Rust

Simple programming language in Rust

1
ghast.js
ghast.js 0E9B061F JavaScript

An abstract syntax tree for use with PEG.js/Peggy

1
js-mini-compiler
js-mini-compiler yintingwen TypeScript

TS实现的迷你解析器

1
TSLANG-Compiler
TSLANG-Compiler mtnrzna Python

frontend of a compiler for "TSLANG"(The Simple Language)

1
dep-graph
dep-graph fleebe JavaScript

Produce html report file for a javascript directory.

1
astuce
astuce tristanlatr Python

AST inference utilities

1
senior-project
senior-project solomspd Python

A neural graph generation framework for android decompilation

1
native-to-big
native-to-big sleeyax TypeScript

Convert JS native math expressions to Big objects from the big.js library

1
cl-scala
cl-scala naderghanbari Scala

Simple Combinatory Logic and Lambda Calculus in Scala

1
js-scope-syntax-highlighting
js-scope-syntax-highlighting NoamRa TypeScript

A JavaScript syntax highlighter that detects variable and function by scope

1
anadep
anadep xiaoliu-heng JavaScript

可视化分析 js/ts 文件依赖, Find all dependencies for the js file, also jsx,ts,tsx file.

1
funEvalExpr
funEvalExpr skyf0l Haskell

Epitech - An expression evaluation in Haskell

1
User-ID-tags-below-the-instagram-post
User-ID-tags-below-the-instagram-post Alibehzad79 Python

the comment Instagram bot

1
Haskell-Lambda-Evaluator-Type-Checker-Expession-Evaluator
Haskell-Lambda-Evaluator-Type-Checker-Expession-Evaluator vatsalagrawal6991 Haskell

Haskell Type Language parsing, token generation, type checker, expression evaluator, lambda expression evaluator with parse tree and ast generation an...

1
md_parser
md_parser GanguLabs JavaScript

Testing Markdown parser to format md files (Roam Research to Obsidian)

1
ClangPlayground
ClangPlayground roberteg16 C++

Here lie different examples of clang codes doing different things. It is thought as small tutorial.

1
generator-markdown-to-html
generator-markdown-to-html LLazyEmail JavaScript
1
rswag
rswag i4de

RSWAG is a RobuSt Web Application Generator with RuSted sWagger/openApi Genes.

1
x-lang
x-lang tartunian Java

Lexer, parser, compiler and interpreter for the 'x' language, implemented in Java. Part of SFSU CSC413 coursework.

1
optional-getter
optional-getter eugenelesnov Groovy

Generating getter method with Optional as a return type by annotation using Groovy and AST transformations

1
aql
aql krakphp PHP

API Query Language

1
remark-react-component
remark-react-component lookback TypeScript

Render Markdown from Remark to React – with emoji support.

1
goedwig
goedwig DerwenAI Python

A generic query engine for graph data, based on abstract syntax trees as input.

1
mxn-jsx-ast-transformer
mxn-jsx-ast-transformer ZimNovich JavaScript

Transforms JSX AST into regular JS AST

1
pyast
pyast cgsdfc Python

Like pybind11, but for the Python ast.

1
groovy-get-source
groovy-get-source MeneDev Groovy

This is a small AST transformation that allows you to get the source code of a Class at run-time.

1
calc
calc qq824810885 Java

java语言实现的表达式计算器

1
babel-plugin-console-convert-logger
babel-plugin-console-convert-logger zhy1 JavaScript

babel-plugin-> . convert console to logger,

1
js-testing-api-3
js-testing-api-3 jennabelle JavaScript

A static code analysis tool for binary search algorithm

1
poker
poker AshkanAbd C++

Poker programming language source

1
py2js
py2js aesbetancourt JavaScript

Basic python to javascript transpiler

1
PL
PL frblazquez Java

Implementation of a custom language compiler. It includes lexical, syntactical, static-semantics analyzers and code generation for the abstract p-mach...

1
astscan
astscan Asphaltt Go

Scan Chinese in go by ast

1
go-ast-refactoring
go-ast-refactoring charithe Go

Refactor Go code by traversing the AST

1