-
Updated
Mar 22, 2022 - Java
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 840 public repositories matching this topic...
-
Updated
Mar 21, 2022 - TypeScript
-
Updated
Mar 22, 2022 - TypeScript
-
Updated
Mar 17, 2022 - Rust
-
Updated
Mar 22, 2022 - Java
-
Updated
Dec 7, 2021 - TypeScript
-
Updated
Mar 22, 2022 - Python
-
Updated
Feb 4, 2022 - 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
Mar 19, 2022 - C++
-
Updated
Feb 16, 2022 - Rust
-
Updated
Mar 16, 2022 - Python
-
Updated
Nov 2, 2021 - Vim script
-
Updated
Feb 9, 2022 - JavaScript
-
Updated
Feb 26, 2022 - JavaScript
Very nice library by the way. I'm having some fun learning it. Thanks!
128 bit integers on gcc on clang may be helpful
compiler specific adjustment that seems to work for line dsl/integer.hpp:76
else if constexpr (std::is_same_v<T, unsigned long long>)
return ULLONG_MAX;
+ else if constexpr (std::is_same_v<T, __int128_t>)
+ return __int128_t(LL
-
Updated
Nov 7, 2021 - C
-
Updated
Aug 13, 2021 - Python
-
Updated
Mar 1, 2022 - Java
Tokenizer.pipe
, Rules.suggest
and maybe some other methods should return an iterator instead of a Vec<_>
for more flexibility.
-
Updated
Feb 7, 2022 - C++
-
Updated
Mar 13, 2022
-
Updated
Feb 4, 2022 - C++
-
Updated
Feb 4, 2022 - JavaScript
- Wikipedia
- Wikipedia
It would be great to see a tutorial on how to port a pyparsing based project to Lark.