diff options
| author | hachem <im@hachem.wtf> | 2026-08-31 00:19:10 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-31 00:19:10 +0200 |
| commit | 3e20038bbf7206e2270655418d7884ccfe91a4e4 (patch) | |
| tree | dfc7bf806a00c1dbec6c889351c108702a0e9d40 /README.md | |
| parent | 8eac30c13cfa4f47a8a0aa0772b96f0813fe33a5 (diff) | |
add directives and directive based entry points
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -8,6 +8,8 @@ This is where hdass comes in. It's not quite high-level enough to be a C-like la ## Examples Here's a simple "Hello, World!" world program written using hdass' syntax: ```hdass +[entry: main] + const SYS_WRITE = 1 const SYS_EXIT = 60 @@ -60,7 +62,7 @@ From inside the container you can build the compiler and take a program all the premake5 gmake && make config=debug ./bin/debug-linux/hdass examples/hello_world.hdass -o hello.asm nasm -f elf64 hello.asm -o hello.o -ld hello.o -o hello +ld -e main hello.o -o hello ./hello ``` |
