cpsc411 / cpsc411-book

The WIP book for CPSC 411
Other
59 stars 7 forks source link

More structure for wrap-x64-run-time and wrap-x64-boilerplate, to enable Windows support and more clarity #87

Open wilbowma opened 2 years ago

wilbowma commented 2 years ago

If wrap-x64-run-time used an intermediate representation that made code and data sections explicit (maybe even data vs BSS), imports too, and manipulated those instead of strings, it might be more clear what it's doing. It would also enable supporting Windows, which requires registering some imports from the kernel.

Boilerplate then .. really is just "stringify".