0fc84324424cdadb879d67bf530de32c0b12c3a2
Replace the hand-written recursive descent parsing functions (term, factor, primary) with a table-driven Pratt parser using ParseRule structs. The new implementation introduces a parsePrecedence function that dispatches to prefix and infix parse functions based on token type and precedence levels, enabling cleaner extensibility for future operators. Adds precedence enum (PREC_NONE through PREC_CALL) and ParseRule table mapping token types to their corresponding parse functions and binding power.
Description
Highly customized version of the wren programming language. It has all the modules that you would expect in a std library including http, websockets, sqlite3 and jinja-like templating engine. The idea is to make it suitable for web development.
22 MiB
Languages
HTML
50%
C
22.2%
PHP
13.4%
C++
6%
Makefile
2.9%
Other
5.5%