Skip to content

Run GigaScript or GigaScript‐X

aName edited this page Feb 27, 2024 · 1 revision

Run GigaScript

Running GigaScript code from a file

  1. Clone this repository.
  2. Make sure you have node.js and npm installed.
  3. In your terminal/command prompt, navigate to the location where you cloned the repository.
  4. Run the command npm run gigascript <file_location>. Replace <file_location> with the location of your GigaScript file.

Running GigaScript code from the command line

If you do not have a GigaScript file ready to go, you can start a REPL and run GigaScript code straight in your terminal/command prompt.

  1. Clone this repository.
  2. Make sure you have node.js and npm installed.
  3. In your terminal/command prompt, navigate to the location where you cloned the repository.
  4. Run the command npm run gigascript.

Run GigaScript-X

Running GigaScript-X code from a file

  1. Clone this repository.
  2. Make sure you have node.js and npm installed.
  3. In your terminal/command prompt, navigate to the location where you cloned the repository.
  4. Run the command npm run gigascript <file_location>. Replace <file_location> with the location of your GigaScript-X file.

Running GigaScript-X code from the command line

Important

This is currently not supported.