<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Have a look at the P4 pascal compiler<br>
<a href="http://homepages.cwi.nl/~steven/pascal/" target="_blank">http://homepages.cwi.nl/~steven/pascal/</a> . The whole compiler is written in<br>
pascal and is only 4000 lines in 1 file. It generates a high level pcode and<br>
comes with a pcode interpreter (1000 lines of pascal in a second file).<br>
Simpler you can't get. Cross platform. Only standard pascal though, no<br>
objects, etc.<br>
<font color="#888888"><br>
</font></blockquote><div>Maybe we could/should put a fpc compilable version of this into the fpc docs, and into the fpc distribution? Can't imagine that one could do anything smaller or more portable? </div><div>John</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">_______________________________________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br>