Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c2ea1102fd
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (26 sloc) 0.481 kb
(use runtime test-by-example test path)
(example-test runtime* #<<.
> (= foo 123)
> runtime*!foo
123
> (= runtime*!foo 456)
> foo
456
> (= rt (runtime '(fooble-example)))
> type.rt
runtime
> rt!fooble
1234
.
)
(w/testdir
(let adir (path testdir "a")
(ensure-dir adir)
(writefile '(prn "this is foo") (path adir "foo.arc"))
(let r (runtime '(arc))
(r!eval `(use ,(+ adir "/")))
(example-test r #<<.
> (use foo)
prints: this is foo\n
.
))))
Jump to Line
Something went wrong with that request. Please try again.