https://github.com/lukflug/yakjava
Simple programming language consisting of only booleans.
https://github.com/lukflug/yakjava
boolean freebasic interpreter language
Last synced: 7 months ago
JSON representation
Simple programming language consisting of only booleans.
- Host: GitHub
- URL: https://github.com/lukflug/yakjava
- Owner: lukflug
- License: mit
- Created: 2020-07-22T12:33:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-09T12:55:37.000Z (over 5 years ago)
- Last Synced: 2025-03-22T14:14:11.639Z (10 months ago)
- Topics: boolean, freebasic, interpreter, language
- Language: VBA
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yakjava
Simple programming language consisting of only booleans.
Example:
```
a=input;
rep:
if (a!=true) print a;
goto rep;
```
Following commands exist:
* Assignment (no declaration necessary or allowed, e.g. `a=true;`).
* Print, outputs boolean as `true` or `false`.
* If-statement, same syntax as java.
* Goto and labels, for jumping.
Arbitrarily complex expressions using booleans and logic operators are possible. `input` is a special variable allowing for input from the user using a `(y/n)` prompt.