I have been working on a design for a programming language that I like to call Kowalski and just felt that I could share some of the syntax with you guys. :).
I am still working on the whole syntax of the language but I thought I coudl share some with y'all.
So let's begin:
Variable declarations are as follows:
! declare myVar
You can assign a value to a variable by using the `set` function:
:: myVar set 21
WHat happens above is that the interpreter will read all elements of that line of code after the `::` and the variable's identifier `myVar` and will execute it as a shell command and then get the output of the command and assign that to the variable in memeory (or on disk (cool ey?)) and then `myVar` will have the value of `21`.
| Sysop: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 09:48:22 |
| Calls: | 15,499 |
| Calls today: | 1 |
| Files: | 20,143 |
| D/L today: |
8 files (310K bytes) |
| Messages: | 1,870,557 |