all repos — min @ db441f0e2f777f4b06e59fe189f80cd408b0ff98

A small but practical concatenative programming language.

prelude.min

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
; Imports
'stack     import
'str       import
'io        import
'logic     import
'num       import
'sys       import
'time      import
'fs        import
'crypto    import

; Unsealed symbols
()                                :startup
("[$1]$$ " (.) %)                 :prompt

; Load all stored symbols
stored-symbols ('load-symbol ROOT with) foreach

; Execute startup symbol within ROOT scope
'startup ROOT with