Download Ypsilon Script

Get started with Ypsilon Script by downloading the compiler and tools. Choose the installation method that works best for you.

Installation

To install Ypsilon Script, follow these steps to set up the compiler from source:

Prerequisites: Node.js 14.0.0 or higher and Git

Step 1: Clone the Repository

git clone https://github.com/ycharfi09/ypsilon-script.git
cd ypsilon-script

Step 2: Install Dependencies

npm install

Step 3: Link the Compiler Globally

npm link

Step 4: Add to PATH (if needed)

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

Alternative: Run Without Global Installation

If you prefer not to install globally, you can run the compiler directly from the repository:

node bin/ysc.js <input-file.ys>

From Source

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.

Run Tests

npm test

Release Downloads

Download pre-built releases from GitHub:

Download Latest Release View All Releases

System Requirements

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

Example Programs

Once installed, try out some example programs included in the repository:

Compile an example:

ysc examples/blink.ys

Getting Help

Need help with installation? Check out our documentation or visit our issue tracker on GitHub.