I just released a demo that lets everyone to try the Argentum programming language on Windows.
Download link: argentum-demo.7z
It contains:
- a command line compiler,
- simple bindings to SDL,
- and a couple of examples.
Short instruction:
- download,
- extract anywhere,
- read the README.md,
- go to the workdir folder, and launch cmd.
- copy and paste these three commands to compile, link and execute the hello world application:
..\bin\agc.exe -src ..\src -start hello_world -o hw.obj ..\bin\lld-link.exe /libpath:..\libs hw.obj ..\libs\ag_runtime.lib hw.exe
Do the same for the SDL demo application:
..\bin\agc.exe -src ..\src -start demo -o demo.obj ..\bin\lld-link.exe /libpath:..\libs demo.obj ..\libs\ag_runtime.lib ..\libs\SDL2.lib ..\libs\SDL2_image.lib demo.exe
Play with `*.ag` files in `src` directory to see how the language works.
All my examples from the the ongoing posts will work with this compiler.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.