Cuber01 / Chonker

Chonker is a scripting statically-typed programming language made in C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chonker

Chonker is a scripting statically-typed programming language made in C#.

If you want to learn/use it, take a look at HowToUse.md.

Do note that this language was created for learning purposes and shouldn't be used in real development. Mostly because it lacks library support and is horrifyingly slow.

Running

To run the language you have to compile it or take a ready executable from Releases.

Compiling

To compile run:

msbuild

at Chonker/Chonker

Or use your favorite IDE.

Executing

Then simply

./Chonker

See HowToUse.md for commandline arguments.

Tests

Running

To run tests, execute run_tests.py at Chonker/Chonker/Tests

python3 run_tests.py

Writing

Normal

  1. Write your test as a yourname.chonk file and put it at Chonker/Chonker/Tests/Main
  2. Write the expected output of your test and put it at Chonker/Chonker/Tests/Main/Output, name it yourname.out

Error Catch

  1. Write your test as a yourname.chonk file and put it at Chonker/Chonker/Tests/Error

Credits

Robert Nystrom for writing a great book.

Egor Dorichev for inspiration and support.

@Cuber01 for writing this thing.

About

Chonker is a scripting statically-typed programming language made in C#.

License:MIT License


Languages

Language:C# 96.0%Language:Python 4.0%