Compare commits
11 commits
Author | SHA1 | Date | |
---|---|---|---|
a9fbb5263c | |||
84f9a143b0 | |||
5f4bfd3de7 | |||
9cb05aa2bc | |||
fea9ddbb9a | |||
c72c2cb3e3 | |||
c325c792a2 | |||
4dc53777b4 | |||
223c4d7bd1 | |||
51eb61091d | |||
2132c7c8a4 |
4 changed files with 841 additions and 272 deletions
905
ISBPL.java
905
ISBPL.java
File diff suppressed because it is too large
Load diff
|
@ -3,8 +3,6 @@ Improved Stack-Based Programming Language
|
||||||
|
|
||||||
Incomplete, not currently compilable, only interpretable.
|
Incomplete, not currently compilable, only interpretable.
|
||||||
|
|
||||||
ISBPL is now obsolete. Try [SPL](https://github.com/tudbut/spl) instead.
|
|
||||||
|
|
||||||
Stuff: [TudbuT/isbpl-random-stuff](https://github.com/TudbuT/isbpl-random-stuff)
|
Stuff: [TudbuT/isbpl-random-stuff](https://github.com/TudbuT/isbpl-random-stuff)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -20,7 +18,7 @@ is the same as
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
```isbpl
|
```isbpl
|
||||||
(((2 1 *) 1 +) print)
|
( ( ( 2 1 * ) 1 + ) print )
|
||||||
```
|
```
|
||||||
in both languages, this will print 3.
|
in both languages, this will print 3.
|
||||||
|
|
||||||
|
|
1
bf.isbpl
1
bf.isbpl
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
"Brainfuck->ISBPL transpiler" #
|
"Brainfuck->ISBPL transpiler" #
|
||||||
|
|
||||||
native acopy
|
|
||||||
"#stream.isbpl" include
|
"#stream.isbpl" include
|
||||||
"#multi.isbpl" include
|
"#multi.isbpl" include
|
||||||
|
|
||||||
|
|
|
@ -593,12 +593,3 @@ func astartswith {
|
||||||
match alen
|
match alen
|
||||||
asub match eq
|
asub match eq
|
||||||
}
|
}
|
||||||
|
|
||||||
func times {
|
|
||||||
with callable amount ;
|
|
||||||
def i 0 =i
|
|
||||||
callable [ while { i amount lt } {
|
|
||||||
i
|
|
||||||
i 1 + =i
|
|
||||||
} ] foreach
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue