ciekawy cross compilator Pascala KPC (K Pascal Compiler) m.in. dla 6502 http://www.geocities.com/rjkuhn_2000/so … #compilers
bezpośredni link do kompilatora z przykladami (nawet skomplikowanymi) tutaj: http://www.geocities.com/rjkuhn_2000/02kpc10.zip
fragment pliku README.TXT:
The following are the data types recognized by K Pascal and their
characteristics:
boolean - a single bit indicating true or false
char - an 8 bit ASCII character
byte - an 8 bit unsigned value ranging from 0 to 255
sint - an 8 bit signed value ranging from -127 to 127
word - a 16 bit unsigned value ranging from 0 to 65535
integer - a 16 bit signed value ranging from -32767 to 32767
real - a 32 bit fixed point value
The following are the operators recognized by K Pascal:
:=
not
chr
ord
wrd
inp
inpw
outp
outpw
*
/
and
div
mod
shl
shr
+
-
or
xor
=
<>
<
<=
>
>=
The following are the keywords recognized by K Pascal:
array
begin
const
do
else
end
function
if
implementation
interface
of
procedure
program
repeat
then
unit
until
uses
var
while
_asm