Compiler/virtual machine interpreter: Difference between revisions
Compiler/virtual machine interpreter (view source)
Revision as of 14:52, 12 April 2022
, 2 years ago→{{header|Common Lisp}}
Line 3,319:
{{libheader|cl-ppcre}}
{{libheader|trivia}}
I ran it with SBCL, CCL, and ECL. SBCL gave by far the best performance on mandel.vm, although I do not know all the optimization tricks one can employ.
<lang lisp>#!/bin/sh
Line 4,046 ⟶ 4,050:
;;; vim: set ft=lisp lisp:</lang>
{{out}}
<pre>$ ./vm.ros compiler-tests/count.vm
count is: 1
count is: 2
count is: 3
count is: 4
count is: 5
count is: 6
count is: 7
count is: 8
count is: 9</pre>
=={{header|Forth}}==
|