change memory model #1

Merged
trinity merged 9 commits from meta into main 2022-12-09 21:08:37 -07:00
3 changed files with 6 additions and 5 deletions
Showing only changes of commit 193254fb1f - Show all commits

3
.gitignore vendored
View File

@ -1,4 +1,3 @@
bin bin/blang
bin/*
build build
build/* build/*

View File

@ -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
View File

@ -0,0 +1,2 @@
#!/usr/bin/env blangfile
^*