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: | Eric Oulashin |
|---|---|
| Location: | Beaverton, Oregon, USA |
| Users: | 120 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 11:12:26 |
| Calls: | 7,290 |
| Calls today: | 5 |
| Files: | 9,242 |
| D/L today: |
509 files (167M bytes) |
| Messages: | 382,758 |
| Posted today: | 2 |