Kasic is an interpretuer that trys to replicate the usage of Unix commands but as a programming language.
Download latest release from github here.
unzip kasic.zip && mv kasic ~/
export PATH="$HOME/kasic:$PATH"
% kasic
>>> print "Hello world"
Hello World
% kasic hello_word.kasic
Hello World
See the examples directories for more comprehansive examples.
&num number 10
string *number | replace 1 2 | num | &num number
print *number
20
&num number 0
&string prompt "The number is:"
> loop
print *prompt *number
add *number 0.01 | &num number
goto loop
The number is: 0.01
The number is: 0.02
The number is: 0.03
...
Prerequisites
git clone [email protected]:jackdelahunt/Kasic.git
cd Kasic/kasic
dotnet run
See here for the code for each language.
Kasic | Speed(ms) |
---|---|
2021-07-24 | 4820 |
2021-07-25 | 3560 |
2021-07-26 | 2970 |
2021-07-27 | 1760 |
2021-07-28 | 800 |
2021-07-29 | 560 |
Language | Speed(ms) |
---|---|
Python | 100 |
Java | 6 |
Rust | 1 |
C++ | <1 |