A transpiler which makes NetLogo less hideous
First of all, download the latest release. Usage differenciates between Windows, Mac OS X and Linux.
- Open the LogoScript directory in cmd.exe
- Open it in a text editor, such as VS Code
- Create a new text file (Extension doesn't matter but I'd recommend .lgs)
- Write your LogoScript code into that file
- To translate your code to NetLogo, run
lsc.exe <file name> <options>
- Open the LogoScript directory in your terminal
- Open it in a text editor, such as VS Code
- Create a new text file (Extension doesn't matter but I'd recommend .lgs)
- Write your LogoScript code into that file
- To translate your code to NetLogo, run
lsc <file name> <options>
Here is a List of th avaiable options:
Option | What it does |
---|---|
--copy | Copy the result to the clipboard |
--save | Save the result to a file |
--supress-warnings | Suppress warnings |
--debug | Enable debug mode |
--help | Shows a help menu |
Note: --copy doesn't yet work on Windows!
Developed by NinoDS