News for hackers. Stuff that matters.
Re:Show HN: A compiler and VM for a simple language, in 150 ... by userbinator on Saturday July 16, 2022 @06:13PM (#32122425)
B has no type checking either.

On the other hand, using a parser generator and not counting its output in the line count does seem like cheating.

Re:Show HN: A compiler and VM for a simple language, in 150 ... by p4bl0 on Saturday July 16, 2022 @06:22PM (#32122476)
> using a parser generator and not counting its output in the line count does seem like cheating

Yeah maybe I should count OCaml's standard library lines of code too. Maybe also count expanded macros and inlined functions at each call site? At which point should I stop? Are assembly language pseudo-instructions cheating too?

Common, don't be ridiculous.

Re:Show HN: A compiler and VM for a simple language, in 150 ... by wtetzner on Sunday July 17, 2022 @06:26PM (#32132086)
I don’t see how, I would only count the input lines to the parser generator.