/YSL-C3

The programming language of the 3rd millenium

Primary LanguageDGNU General Public License v3.0GPL-3.0

YSL-C3

Yeti's Simple Language, Compiled

This language takes YSL concepts and throws them out the window, but at least the syntax is similar

Build

First, clone the repository

git clone https://github.com/YSL-C/YSL-C3 --recursive

Remove --recursive if you don't want the standard library (this is required for building the examples)

Now, build the compiler

dub build

Then use ./yslc --help to see usage

Build examples

yslc examples/example.ysl -o example

Replace example.ysl with your chosen example

Features

  • Function definitions & calls
  • Variables
  • If statements
  • While statements
  • For statements
  • Overloads
  • Classes
  • Class methods