The Ndebele based programming language
## Ndexcode the Ndebele based Programming Language
What: Ndebele based programming language
Why: Because I can, you and what army gone stop me?
Well the idea behind it is that it will be easier to have people play around with coding in Ndebele and be able to grasp programming concepts that they can use if they decide to pursue it further and learn more serious languages.
Ndexcode is a Ndebele programming language, based on the Pinecode Programming language (github.com).
I decided to fork Pinecone and rebuild it incorporating a Southern Ndebele spin on it.
##Sabona Zimbawe (We don't do Hello World Here)
1. Download the binary from (zimspy007/Ndexcode-Binaries), be it for Windows or MacOS and exctract it somewhere.
2. Save the following in a ".ndx" source file:
bhala: "Sabona Zimbabwe"
3. Open a terminal window and navigate to where you extracted the Ndexcode binary.
4. Run it as follows in a terminal window:
Windows:
ndexcode PathToSourceFile\hello_sourceFileName.ndx
or for MacOS
./ndexcode \PathToSourceFile\hello_sourceFileName.ndx
## Tutorials
For more code examples and an introduction to the language, check out the tutorials folder in the repository. No I mean check out Izibonelo folder.
## The source code is available at
## Current State
The features that are currently implemented are as follows:
Primitive data types Bool, Int and Dub
All the operators you would expect (+, *, %, :, =, >, <=, &&, etc.)
Single and multi line comments
Flow control (if, if/else, while loop, for loop)
Constants
Data structs
Qoqa aka Tuples
Inani arrays aka Int Arrays
Functions
Amabala and various Amabala operations aka String
User input
Running system commands
Interpreter for rapid development and simplicity
Transpiler to C++ for max performance