inspect.cora is the interpreter written in cora
lib/toc is the library to generate cora to C
Now it can successfully codegen inspect.cora, so that I can get the native interpreter...
The performance of the generated interpreter is still too poor to be usable.
(do (set (quote sum) (lambda (r i)
(if (= i 0)
r
(sum (+ r 1) (- i 1)))))
(sum 0 500000))
It can support (sum 0 20) and not much more beyond that.
inspect.cora is the interpreter written in cora lib/toc is the library to generate cora to C Now it can successfully codegen inspect.cora, so that I can get the native interpreter...
The performance of the generated interpreter is still too poor to be usable.
It can support (sum 0 20) and not much more beyond that.