Comment

Comment by ryansworks

It took about 10 hours. Arguably would have taken me 100 to do it manually but likely would have fewer bugs, there’s a few I’m aware of, but I bet there are many.

I started with a basic syntax for expressions and specified a lot up front such as it being a bytecode interpreter and using a recursive descent parser.

I found building it up feature by feature to be much more effective than one shotting an entire feature rich language. Still there was a lot of back and forth.

parent ryansworks 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton