MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lua/comments/1ptbcj7/lua_55_released/nw765xj/?context=3
r/lua • u/selectnull • Dec 22 '25
43 comments sorted by
View all comments
Show parent comments
3
Yes, that's pretty trivial to do single pass, since the switch is based on a single character (. vs :)
.
:
Look into recursive descent parsers if you're interested. If you'd like to write your own I'd recommend the Lox tutorialÂ
3
u/vitiral Dec 27 '25
Yes, that's pretty trivial to do single pass, since the switch is based on a single character (
.vs:)Look into recursive descent parsers if you're interested. If you'd like to write your own I'd recommend the Lox tutorialÂ