-
Notifications
You must be signed in to change notification settings - Fork 2
Hello World
mystborn edited this page Jun 22, 2018
·
3 revisions
Every programming language needs a hello world example. So here is one for TaffyScript:
script main {
print("Hello, World!");
}
In order to compile the code, first you'll need to create a project folder with a build file in it. Then create a file with the above code in it and save it with the .tfs
extension. Then from the command line you can compile it like so:
path/to/tsc.exe path/to/project/folder /r
The /r will tell the compiler to run the output assembly.