change memory model #1
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
bin
|
bin/blang
|
||||||
bin/*
|
|
||||||
build
|
build
|
||||||
build/*
|
build/*
|
||||||
|
@ -12,9 +12,9 @@ the bang language
|
|||||||
|
|
||||||
Public domain. 2022 DTB.
|
Public domain. 2022 DTB.
|
||||||
|
|
||||||
# Examples
|
## Examples
|
||||||
|
|
||||||
## true(1)
|
### true(1)
|
||||||
```
|
```
|
||||||
; initialize hand to 0
|
; initialize hand to 0
|
||||||
^
|
^
|
||||||
@ -24,7 +24,7 @@ Public domain. 2022 DTB.
|
|||||||
*
|
*
|
||||||
```
|
```
|
||||||
|
|
||||||
## Hello world:
|
### Hello world:
|
||||||
```
|
```
|
||||||
; the <.> construct uses '<' to literally 'palm' the next value
|
; the <.> construct uses '<' to literally 'palm' the next value
|
||||||
; (store into hand), does so, and uses '>' to 'toss' (output hand's value)
|
; (store into hand), does so, and uses '>' to 'toss' (output hand's value)
|
||||||
|
2
example/true.blang
Normal file
2
example/true.blang
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env blangfile
|
||||||
|
^*
|
Loading…
Reference in New Issue
Block a user