This commit is contained in:
dtb 2022-12-09 21:59:24 -05:00
parent 6a90901f81
commit 193254fb1f
3 changed files with 6 additions and 5 deletions

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
^*