Hacker News new | ask | show | jobs
by kerkeslager 2162 days ago
> I honestly can't tell if you are just trolling now, and I'm falling for it, but you seem to think this 2000 word set of tutorial on the basics of compiler design (lexing, parsing, emitting) is supposed to be the one and only document you will ever need to create the next C++.

That's a fair criticism.

I'm frustrated with the lack of material on emitting assembly, but it wasn't right of me to take that out on the author of this post. I apologized in a different post.

> And it probably can, depending on the flavor of assembly you want to use, there are dozens (hundreds?) of them

How about one I can run on my machine? There are maybe 5 that are useful targets I can think of:

   * x86 or ARM (depending your machine)
   * LLVM
   * GCC RTL
   * Web assembly
   * Parrot? Maybe the JVM has some low-level bytecode?