Get started with Ypsilon Script by downloading the compiler and tools. Choose the installation method that works best for you.
To install Ypsilon Script, follow these steps to set up the compiler from source:
Prerequisites: Node.js 14.0.0 or higher and Git
git clone https://github.com/ycharfi09/ypsilon-script.git
cd ypsilon-script
npm install
npm link
The npm link command should automatically add the ysc command to your PATH.
If it doesn't work, you may need to manually add npm's global bin directory to your PATH environment variable.
Find your npm global bin directory:
npm bin -g
Then add that directory to your PATH environment variable according to your operating system.
After installation, verify it's working:
ysc --version
ysc --help
If you prefer not to install globally, you can run the compiler directly from the repository:
node bin/ysc.js <input-file.ys>
The above installation method is the recommended way to use Ypsilon Script. The project is under active development and will be published to npm in the future.
npm test
Download pre-built releases from GitHub:
Download Latest Release View All Releases| Component | Requirement |
|---|---|
| Operating System | Windows, macOS, Linux |
| Node.js | Version 14.0.0 or higher |
| Arduino IDE | Optional (for compiling generated C++ code) |
| Disk Space | ~10 MB |
Once installed, try out some example programs included in the repository:
examples/blink.ys - Simple LED blink programexamples/ - More example programs demonstrating various featuresCompile an example:
ysc examples/blink.ys
Need help with installation? Check out our documentation or visit our issue tracker on GitHub.