-
Notifications
You must be signed in to change notification settings - Fork 0
0) Getting started
rookieCookies edited this page Aug 19, 2022
·
1 revision
Installing the CryScript Interpreter is as simple as a click!
- For Windows, click here
- For MacOS, click here
- For Linux,
- Download the source code from the github page
- Download the Rust Toolchain from the official page
- Extract the source into a folder
- Run
cargo build --release
and then wait for it to compile - Navigate to the target folder and you should see another folder called release, after opening the release folder you should see the application
Tryin' a new language is no easy task, fortunately CryScript makes it quite easy to start!
First, let's create a file that we will be entering our code into! For the purposes of this tutorial we'll call it script.cry
Now enter the following text into the file we created
println("Hello world!")
That should be pretty self-explanatory.
We're calling a function called println
and giving it the text "Hello World!"
and now all that's left is running the file!
Move the file you downloaded from the installation section and then run it!
If everything went as expected you'll be prompted with a text asking for a file path, simply enter script.cry
and press enter
Voila! Hello World!