Compiler/virtual machine interpreter: Difference between revisions
→{{header|ATS}}
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
|||
Line 1,567:
=={{header|ATS}}==
===Interpreter===
{{works with|ATS|Postiats 0.4.1}}
Line 3,390 ⟶ 3,393:
count is: 8
count is: 9</pre>
===Compiler===
It seemed interesting to write translators from virtual machine code to other languages. Find at https://pastebin.com/pntTVTN3 a translator from Rosetta Code VM assembly language to ATS. The ATS program can be compiled to native code, which should run pretty fast if you use the C optimizer.
=={{header|AWK}}==
|