Making code faster and more reliable, from the cloud to mobile apps, using Rust, C++, Python and Typescript where appropriate.
- Germany
Pinned Loading
- 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-parser2fnmain(){
3let input = "10*2+3";
4assert_eq!(run(input),10*2 + 3);
5 - build_cpython.py
build_cpython.py 1# ported from https://github.com/allyourcodebase/cpython23#!/usr/bin/env python345importargparse
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.
Uh oh!
There was an error while loading. Please reload this page.


