Skip to content

Instantly share code, notes, and snippets.

@valignatev
Last active May 18, 2022 11:45
Show Gist options
  • Save valignatev/09f9dd66aab8f95c34d297d2b10fa112 to your computer and use it in GitHub Desktop.
Save valignatev/09f9dd66aab8f95c34d297d2b10fa112 to your computer and use it in GitHub Desktop.
An example of compile-time script in jai without producing an executable. You can use it like that instead of bash or python
#!/path/to/jai-linux
#import "Basic";
#import "Compiler";
#run {
set_build_options_dc({.do_output = false});
print("Hello!\n");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment