bang language
Go to file
dtb 721b556647 now works 2022-12-08 23:51:40 -05:00
src now compiles with GNU 2022-12-08 23:51:28 -05:00
LICENSE Initial commit 2022-12-09 04:41:52 +00:00
Makefile now works 2022-12-08 23:51:40 -05:00
README.md fix ascii art 2022-12-08 23:46:43 -05:00

README.md

/*  _     _                       _
   | |   / |                     / /
   | |__| ||__ _ _ __   __ _    / /
   | '_ | |/  ' | '_ \ / _' |  / /
   | \_|| | ||  | | | | /_| | /_/
    \___/_____/___| |__,_  / _
                     |____/  */

blang!

the bang language

Public domain. 2022 DTB.

Examples

true(1)

^ ; initialize state to 0
% ; store state (0) into *stack
; stack is destroyed, state becomes the final value of *stack
; when the stack is destroyed, the program exits with the value of state
$

Hello world:

; the <.> construct uses '<' to store the next value literally into state,
; does so, and uses '>' to output state literally
<H><e><l><l><o><,>< ><w><o><r><l><d><!><
>^%$