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?
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.