• 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: July 7th, 2023

help-circle




  • I developed half-assed a NASM wrapper (or transpiler if u will) while ago, It basically just adds some high-level feature like simple condition statements directly against registers, for example:

    if (rax == 12)

    Then generates appropriate NASM code. Simple really. Most error checkings are done my NASM lol so I dont need to worry much about the prefixes or instruction-operand correctness. I took most of the grammar for the expression from here. I privatized the repo because it is crazy how dirty it is I am ashamed of myself. If anyone wanna do it again, I’m up tho. But i dont wanna use my old code, just code again from start.