News for hackers. Stuff that matters.
Re:Designing a Language Without a Parser by kevingadd on Wednesday July 05, 2023 @02:44AM (#36596356)
Yep, it was tremendously correct to start with (iirc) 'assert_eq' and 'print' as the two first statements in my language when building out the compiler. It meant I could start writing a test suite and assemble a larger and larger set of functionality as I went.

On the other hand I do really hate the task of writing parsers, so I can relate to people who think it's the worst/most difficult part. But I think other parts are probably harder, like getting type system stuff right.

There are no comments on this comment yet.