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,058 public repositories matching this topic...
-
Updated
Nov 28, 2020 - TypeScript
-
Updated
Jul 30, 2020 - JavaScript
-
Updated
Dec 2, 2020 - JavaScript
-
Updated
Nov 27, 2020 - JavaScript
-
Updated
Dec 2, 2020 - PHP
-
Updated
Dec 1, 2020 - Java
-
Updated
Nov 5, 2020 - TypeScript
-
Updated
Nov 30, 2020 - Java
-
Updated
Sep 4, 2020 - JavaScript
-
Updated
May 9, 2017 - JavaScript
-
Updated
Nov 5, 2020 - JavaScript
-
Updated
Oct 18, 2020 - JavaScript
-
Updated
Nov 29, 2020 - Go
-
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.
-
Updated
Dec 1, 2020 - PHP
-
Updated
Dec 1, 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
scripts
folder: they can probably all be rewritten to ES modules.We can probably add
"type": "module"
to the top