Login
7 branches 0 tags
Ben (X13/Arch) Fixed github linguist detecting all kinds of languages 32fc42f 3 years ago 627 Commits
nujel / tests / asm-test.nuj
#!/usr/bin/env nujel

[let* [defn min [a b]
        [if [< a b] a b]]

  [def bc [assemble [$push/int 42] [$push/int 23] [$apply 2 min] [$ret]]]
  [println [bytecode-eval bc #nil root-closure #t]]

]