Skip to content

ChocLang/ChocolateLanguage

Repository files navigation

Chocolate v0.1-alpha

Build

Building Chocolate

Building is supported on Linux, MacOS, and Windows.

cd into the ChocolateCLI directory, and run:
dotnet build
The build will be located under bin\Debug

Requirements

.NET Core 3.1

Using the ChocolateCLI

The CLI parameters are:

  • --help or -h: Shows this list
  • --version or -v: Shows the compiler version
  • --run or -r {filename}: Runs the code in the console (for text only programs)
  • --compile or -c {filename}: compiles to an executable (for text programs) (To be added)
  • --compile:graphics or -c:g {filename}: To compile with graphics, using OpenTK (To be added)

All Chocolate source files should with the .choc extension.

Documentation

The Chocolate documentation is currently a work in progress.

About

The source code for the Chocolate Programming Language

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages