-
Updated
Jul 6, 2021 - TypeScript
grammar
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 748 public repositories matching this topic...
-
Updated
Jul 1, 2021 - Java
-
Updated
Jun 3, 2021 - JavaScript
-
Updated
Jul 6, 2021 - TypeScript
-
Updated
Jul 1, 2021 - Rust
-
Updated
Jul 6, 2021 - Java
-
Updated
Jun 29, 2021 - Python
-
Updated
Jul 2, 2021 - Go
The rust code in the .lalrpop files are still on rust 2015 and need to be manually updated since cargo fix won't work on those files.
We should also update the generated code to emit 2018 idiomatic code (see #2018 )
-
Updated
Jun 18, 2021 - C++
-
Updated
Jun 26, 2021 - Rust
-
Updated
Mar 29, 2021 - Vim script
-
Updated
Jun 16, 2021 - JavaScript
-
Updated
Jul 6, 2021 - Python
-
Updated
Jun 28, 2021 - JavaScript
-
Updated
Jun 1, 2021 - Python
-
Updated
Jul 1, 2021 - Java
-
Updated
Jul 2, 2021 - C
-
Updated
Jun 27, 2021
Tokenizer.pipe, Rules.suggest and maybe some other methods should return an iterator instead of a Vec<_> for more flexibility.
-
Updated
Jun 10, 2021 - C++
I'm using link-grammar-5.3.15.
This one didn't work for me:
https://github.com/opencog/link-grammar/blob/master/bindings/java/org/linkgrammar/LinkGrammar.java#L43
Even when I added /usr/local/lib to jvm props:
java.lang.UnsatisfiedLinkError: no liblink-grammar in java.library.path
I fixed it by replacing that line into:
System.load("/usr/local/lib/liblink-grammar-java.so")
-
Updated
May 19, 2021 - JavaScript
- Wikipedia
- Wikipedia
Perhaps it should be opt-in, but most usage would expect a BOM is ignored.