langjam-xc
A downloadable tool for Windows
My failed submission to the langjamgamejam challenge. I tried to make a language full on streams for entire week but didn't figure out all of the typechecking stuff untill last hours, so i didnt manage to make a game or even to compile it to the intermediate representation.
Programming lanugage looks like this:
// declaring two variables
var a, b: s32 = 1, 2;
// declaring one constant
const c: u64 = 100;
// declaring a procedure
proc main: () -> s32 {
var x, y: s32;
while y < c {
while x < c {
// ...
}
}
if a != 0 {
// ...
} else {
// ...
}
return 0;
}
// declaring external procedure
proc get_std_handle: () -> u32 = "Kernel32.lib":"GetStdHandle";
Initially scope of the project was to make it compile down to assembly and then to work on the game using winapi, but the more it got to the end the more i understood that i wont be able to finish it before challenge ends. So unfortunately it doesn't compile code down.
Written in C, right now compiles only on windows.
Sources are open for use. New versions on https://f-tier-games.ru/git/langjam
Install instructions
unpack, get the windows build tools (vcvarsall.bat) going in your terminal and compile via these steps:
cl.exe build.c .\build.exe deps .\build.exe

Leave a comment
Log in with itch.io to leave a comment.