Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I can see you're using JS but I just discovered Chumsky and I'd recommend you shop around for a parser combinator, at least to see your options. Chumsky's error messages are really good, much better than I could ever program into a hand-crafted parser.
-
actually it's probably a better learning experience if you figure it out yourself. Your call though.
My tokenizer can how tokenize many statements rather than just a single statement. ^_^ I'll make it open source once I've done a bit more work on it but so far I'm happy.
rant