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.
Here are 1,060 public repositories matching this topic...
ECMAScript parsing infrastructure for multipurpose analysis
-
Updated
Dec 2, 2020 - TypeScript
js2flowchart - a visualization library to convert any JavaScript code into beautiful SVG flowchart. Learn other’s code. Design your code. Refactor code. Document code. Explain code.
-
Updated
Jul 30, 2020 - JavaScript
A web tool to explore the ASTs generated by various parsers.
-
Updated
Dec 3, 2020 - JavaScript
Markdown processor powered by plugins part of the @unifiedjs collective
-
Updated
Nov 27, 2020 - JavaScript
Instant Upgrades and Instant Refactoring of any PHP 5.3+ code
-
Updated
Dec 3, 2020 - PHP
Java 1-15 Parser and Abstract Syntax Tree for Java, including preview features to Java 13
-
Updated
Dec 3, 2020 - Java
-
Updated
Nov 5, 2020 - TypeScript
JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
-
Updated
Nov 30, 2020 - Java
ESDoc - Good Documentation for JavaScript
-
Updated
Sep 4, 2020 - JavaScript
A developer tool to visualize a React application's component hierarchy.
-
Updated
May 9, 2017 - JavaScript
-
Updated
Nov 5, 2020 - JavaScript
natural language processor powered by plugins part of the @unifiedjs collective
-
Updated
Oct 18, 2020 - JavaScript
A parser library for Go
-
Updated
Nov 29, 2020 - Go
SQL interface to git repositories, written in Go. https://docs.sourced.tech/gitbase
-
Updated
Oct 29, 2019 - Go
And, ideally, a configurable list of annotations denoting generated source or AST structures.
See #105 for the kind of issue this seeks to avoid, and the limitations of this fix.
Is your feature request related to a problem? Please describe.
No MappedTypeNode definition in ts-morph.
No TypeQueryNode definition in ts-morph.
No TypeOperatorNode definition in ts-morph.
AST based PHP Mutation Testing Framework
-
Updated
Dec 3, 2020 - PHP
C++ Insights - See your source code with the eyes of a compiler
-
Updated
Dec 2, 2020 - C++
Problem
Sometimes code elements have no package and getPackage return nulls. This introduces null checks and surprises for new developers. INRIA/spoon@84c84e1 as seen here, package can be null.
Solution
A null object[0],[1] could improve code quality. A comparable implementation is [NoSourcePosition](https://github.com/INRI
- Wikipedia
- Wikipedia


Since we are now only building Babel on Node.js 14 (even if we still test it on Node.js 6), we can use native ECMAScript modules for the build scripts:
There are a bunch of scripts/tests in the
scriptsfolder: they can probably all be rewritten to ES modules.We can probably add
"type": "module"to the top