isbpl/README.md

26 lines
520 B
Markdown
Raw Normal View History

2022-02-05 13:38:24 +01:00
# isbpl
Improved Stack-Based Programming Language
2022-02-05 21:49:02 +01:00
2022-03-06 00:14:33 +01:00
Incomplete, not currently compilable, only interpretable.
2022-03-12 20:09:15 +01:00
Stuff: [TudbuT/isbpl-random-stuff](https://github.com/TudbuT/isbpl-random-stuff)
---
## ISBPL is similar to Lisp:
```lisp
(print (+ 1 (* 1 2)))
```
is the same as
```isbpl
2 1 * 1 + print
```
or
```isbpl
( ( ( 2 1 * ) 1 + ) print )
```
in both languages, this will print 3.
These examples used the print function, which does not exist by default, instead, puts should be used in combination with \_string.