I haven’t written anything in D, so now I have, and this is that thing I’ve written.
It started as a ~”Hello, world”~.
It turned into a toy x86_64 assembler.
Lol.
Use any D compiler to compile main.d
.
dmd main.d
You can now run it like any other executable.
Linux:
./main
Windows:
main.exe
Alternatively, use `rdmd` to run it like a script.
rdmd main.d