Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/MightyPork/crsn/src/commit/83996348cb674f5619cb15e7e61413031cb7f369/examples/expr.csn You should set ROOT_URL correctly, otherwise the web may not work correctly.
Croissant Runtime
 
 
crsn/examples/expr.csn

12 lines
208 B

(
(def FOO 14)
(ld r0 (=add 14 1))
(cmp r0 15 (ne? (fault "1")))
(ld r0 (=add FOO 1))
(cmp r0 15 (ne? (fault "2")))
(ld r0 (=add (sub FOO 2) 3))
(cmp r0 15 (ne? (fault "3")))
)