diff --git a/.gitignore b/.gitignore index 23ce63b..8e5688b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -bin -bin/* +bin/blang build build/* diff --git a/README.md b/README.md index 01fd0be..dd624ba 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ the bang language Public domain. 2022 DTB. -# Examples +## Examples -## true(1) +### true(1) ``` ; 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 ; (store into hand), does so, and uses '>' to 'toss' (output hand's value) diff --git a/example/true.blang b/example/true.blang new file mode 100644 index 0000000..c01d48b --- /dev/null +++ b/example/true.blang @@ -0,0 +1,2 @@ +#!/usr/bin/env blangfile +^*