Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fooker
on April 24, 2021
|
parent
|
context
|
favorite
| on:
Resources for Amateur Compiler Writers
Ideally, you'd emit LLVM IR or some similar bytecode or assembly. Then you'd use llc/opt or an appropriate assmebler to get an executable.
Trying to emit machine code isn't too interesting when you're writing your first compiler.
CalChris
on April 24, 2021
[–]
Similarly, trying to parse C++ isn't too interesting when you're writing your first backend.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Trying to emit machine code isn't too interesting when you're writing your first compiler.