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

Assignment_2020_COMP
Assignment_2020_COMP RodrigoSobral2000 C

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

2
tver
tver vhgn C++

Friendly simple calculator

2
BLACKBOX
BLACKBOX INFINITE-TECHNOLOGY Groovy

Logging code automation solution

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
nix-d
nix-d lionello D

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

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

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

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
jgular.js
jgular.js genkio JavaScript

Reinventing the wheel, building angular.js from scratch

2
ast_traverse
ast_traverse slepher Erlang

traverse erlang ast

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
cuss-linter
cuss-linter navyad Python

Finding profanity in code

2
clangCallHierarchy
clangCallHierarchy jzhang46 C

Get the objective-c call-hierarchy information of an Xcode project using libClang

2
ast-plugin
ast-plugin lint-md TypeScript

The simplest abstract syntax tree walker, similar with @Babel plugin.

2
pongo
pongo dpakach Go

A simple interpreter

2
umwelt
umwelt sovetnik Ruby

Client for Umwelt

2
derpy
derpy agoose77 Python

Context Free Grammar "Parsing with Derivatives", in Python

2
inspect-ast
inspect-ast danielstjules JavaScript

A better way to view a compact JS abstract syntax tree

2
snapdragon-visit
snapdragon-visit here-be JavaScript

visit and mapVisit methods for snapdragon nodes.

2
feup-comp
feup-comp msramalho Java

Pattern identifying tool

2
astinfo
astinfo go-toolsmith Go

Package astinfo records useful AST information like node parents and such.

2
snapdragon-location
snapdragon-location here-be JavaScript

Adds a location object to snapdragon token or AST node.

2
llvm-life
llvm-life francisvm Assembly

Presentation of the life of an instruction in LLVM / Clang at LSE week

2
lucene-query
lucene-query gremid Clojure

Parser for Apache Lucene Classic Queries

2
descr
descr goodcodedev Rust

Small language to describe languages. Produces ast, parser, traverser in Rust, and syntax highlighting for vscode.

2
SLANG
SLANG rochauha C++

Bridge between SPAN and Clang

2
latex-parser
latex-parser denysvitali Go

A LaTeX parser, in Go

2
webpack-parent-context-plugin
webpack-parent-context-plugin vicrazumov JavaScript

Webpack Parent Context Plugin

2
snapdragon-capture
snapdragon-capture here-be JavaScript

Snapdragon plugin that adds a capture method to the parser instance, which allows you to capture tokens with a single line of code

2
42sh
42sh giacomoguiulfo C

4️⃣ 2️⃣ The return of the Vengeance from the past!

2
acc
acc xadhrit C

Do you like compilation? 😗

2
astcast
astcast go-toolsmith Go

Package astcast wraps type assertion operations in such way that you don't have to worry about nil pointer results anymore.

2
pug-ast-loader
pug-ast-loader nicholaslee119 JavaScript

a webpack loader to import pug template as AST

2
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