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)

parser_howto
parser_howto ik5 Go

Example on how parsing works

0
strip
strip akshaydeo Go

Strip function calls during builds from your Go code

0
pgsql-parser-openfaas
pgsql-parser-openfaas pyramation JavaScript
0
go-unflagger
go-unflagger Prashant-Surya Go

A command to remove feature flags from the code without manual intervention.

0
RangerParser
RangerParser terotests TypeScript

Opinionated tokenizer and parser for common and custom languages

0
drawing-tree
drawing-tree AntoineSebert F#

Drawing trees using F# and PostScript

0
astBuilder
astBuilder venkatperi TypeScript
0
lrc-ast
lrc-ast CrSjimo TypeScript

Building AST(Abstract Syntax Tree) and JS Object from LRC file, and create LRC file from AST.

0
groovy258-ast-compile-time-metaprogramming-workshop
groovy258-ast-compile-time-metaprogramming-workshop mtumilowicz Groovy

AST transformations as an example of compile-time metaprogramming in groovy.

0
nunjucks-ast-explorer
nunjucks-ast-explorer ogonkov JavaScript

Explore Nunjucks templates AST

0
PPL-ass3
PPL-ass3 boaz23 TypeScript

BGU PPL Assignment 3 - More ASTs, normal order environment based evaluation

0
libsqlast
libsqlast taozuhong

libSqlAst is a library to parse SQL statements or files to AST, then apply them for Intellisense/Beautify/Minify functions

0
ast-scout
ast-scout codemansw JavaScript

Search and report about nodes in an abstract syntax tree - WIP

0
Yaj
Yaj hpnrep6 Kotlin

Abstract synatax tree interpreter.

0
meriyah-printer
meriyah-printer DeMoorJasper TypeScript

An ast printer based on astring for meriyah's ast format

0
js-dremio-sql-parser
js-dremio-sql-parser mlilius JavaScript

Dremio SQL(select) parser written with jison. Parse SQL into abstract syntax tree(AST) and stringify back to SQL. SQL grammar follows https://docs.dre...

0
SimpleLang
SimpleLang batswen Java

This ist the lexer/parser/ast interpreter from my rosetta code contributions in a single jar

0
typescript-equals
typescript-equals unlight JavaScript

Rough implementation of checking of AST equality

0
mython
mython kudryashovda C++
0
Offuscatore-python
Offuscatore-python GiovanniBellorio Python

Implementazione di un offuscatore per Python

0
html-ast
html-ast RobinBlomberg JavaScript

Abstract Syntax Tree specification for the HTML language.

0
css-ast
css-ast RobinBlomberg JavaScript

Abstract Syntax Tree specification and JavaScript transformer for CSS creation.

0
jsmoteur
jsmoteur rocketlyz Rust

a javascript engine written in rust

0