Last active
May 18, 2022 11:45
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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