Category:XPL0: Difference between revisions
Content added Content deleted
m (Some tasks were implemented using EXPL-32.) |
mNo edit summary |
||
Line 9: | Line 9: | ||
XPL0 has been implemented on more than a dozen processors, but it's |
XPL0 has been implemented on more than a dozen processors, but it's |
||
currently maintained on the Raspberry Pi and IBM-type PCs. Programs run under Linux, Windows, and DOS. Free, open-source versions of the |
currently maintained on the Raspberry Pi and IBM-type PCs. Programs run under Linux, Windows, and MS-DOS. Free, open-source versions of the |
||
compilers (interpreted, assembly-code compiled, and optimizing) are |
compilers (interpreted, assembly-code compiled, and optimizing) are |
||
available from the official website: xpl0.org [http://www.xpl0.org/]. The 32-bit version of the DOS compiler, XPLPX, was used for |
available from the official website: xpl0.org [http://www.xpl0.org/]. The 32-bit version of the MS-DOS compiler, XPLPX, was used for many of these Rosetta Code tasks, but more recent tasks were implemented using the compilers for the Raspberry Pi. Some tasks were implemented using [[EXPL-32]]. |
||
Here's how the traditional Hello World program is coded: |
Here's how the traditional Hello World program is coded: |
||
Line 31: | Line 31: | ||
functions. |
functions. |
||
The 32-bit versions of the compilers (as opposed to the older, 16-bit versions) automatically declare ''code'' declarations. Thus the above program can simply be |
The 32-bit versions of the compilers (as opposed to the older, 16-bit versions) automatically declare ''code'' declarations. Thus the above program can simply be rewritten as: |
||
<pre> |
<pre> |