Compiler/virtual machine interpreter: Difference between revisions
Content added Content deleted
Line 3,319: | Line 3,319: | ||
{{libheader|cl-ppcre}} |
{{libheader|cl-ppcre}} |
||
{{libheader|trivia}} |
{{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 |
<lang lisp>#!/bin/sh |
||
Line 4,046: | Line 4,050: | ||
;;; vim: set ft=lisp lisp:</lang> |
;;; 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}}== |
=={{header|Forth}}== |