You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mystborn edited this page Jun 22, 2018
·
3 revisions
Hello, World!
Every programming language needs a hello world example. So here is one for TaffyScript:
scriptmain{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.