Compiler/virtual machine interpreter: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
|||
Line 1,567: | Line 1,567: | ||
=={{header|ATS}}== |
=={{header|ATS}}== |
||
===Interpreter=== |
|||
{{works with|ATS|Postiats 0.4.1}} |
{{works with|ATS|Postiats 0.4.1}} |
||
Line 3,390: | Line 3,393: | ||
count is: 8 |
count is: 8 |
||
count is: 9</pre> |
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}}== |
=={{header|AWK}}== |