SSL = SP's Stupid Language
|
|
||
|---|---|---|
| src | working maybe? | |
| tests | working maybe? | |
| build-debug.sh | working maybe? | |
| build.sh | working maybe? | |
| clean-debug.sh | working maybe? | |
| clean.sh | working maybe? | |
| install.sh | working maybe? | |
| LICENSE | Initial commit | |
| README.md | hehehe | |
| test.sh | working maybe? | |
ssl | WIP
SSL = SP's Stupid Language
Deps
- sh
- zig
To build/run
Well each script's name is kinda self explanitory
Syntax
Calling functions
Its quite simple, to execute a function:
foo "bar", 21;
You must seperate each arg with a , and end with a ;
Making functions
Its also quite simple.
func foo(string bar, num boo) nothing {
print bar, num;
}
Datatypes
There are 3 datatype.
- num = A number
- string = A string
- nothing = nothing You can not assing nothing anything because it is mean to show you dont return in a function.
Variables
To make a variable you can use the c way. For example a number:
num a_number = 12;
And a string:
string a_string = "Hello World!";
You can index a string like so, it starts at 0 like normal:
print a_string[0];
``