v0.3.4: set and say
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Clyx standard library (in addition to [ :: readf src ])
|
||||
# Created by Luxferre in 2026, released into the public domain
|
||||
|
||||
:: is [ next defw ]
|
||||
:: is [ next defw ] # alias to :: for constant definitions
|
||||
:: set [ next next defw ]
|
||||
:: source [ next src ]
|
||||
:: then [ ]
|
||||
:: _start [ next _main swap defw ]
|
||||
@@ -20,6 +21,7 @@
|
||||
:: cr [ 10 emit ]
|
||||
:: space [ 32 emit ]
|
||||
:: puts [ uncons while [ emit uncons ] drop ]
|
||||
:: say [ next puts cr ]
|
||||
:: sqrt [ 0.5 ^ ]
|
||||
:: tan [ dup sin swap cos / ]
|
||||
:: cotan [ dup cos swap sin / ]
|
||||
|
||||
Reference in New Issue
Block a user