Making code faster and more reliable, from the cloud to mobile apps, using Rust, C++, Python and Typescript where appropriate.
- Germany
Block or Report
Block or report benmkw
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
-
comptime_trie
comptime_trie Publiccompile time trie generation for efficiently converting strings into enum members
-
-
pratt parser (and simple interpreter...
pratt parser (and simple interpreter), handels both associativity and precedence 1// ported from https://www.craftinginterpreters.com/compiling-expressions.html#a-pratt-parser
2fn main() {
3let input = "10*2+3";
4assert_eq!(run(input), 10 * 2 + 3);
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.