[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New GS OS?



In article <53lthb$f70@news.vanderbilt.edu>,
Tilghman Lesher <lesherjt@vuse.vanderbilt.edu> wrote:
>:    It's been a pet project of mine for a long while now to do some
>: sort of Applesoft minicompiler

>What the heck for?  It's already parsed... just do an interpreter...

   The other reasons why I prefer compiling: Applesoft Basic already
allows stuff that really would be a major pain to implement in a
runtime interpreter (CALL, USR(), &, PEEK/POKE outside of the video
softswitch areas). By forcing things thru a compiler, you can catch
such things then rather than runtime exceptions-- and someone who owns
Orca/M would usually have the skills to integrate assembly/machine
language into the rest of the code.

   Compiling also lets you determine variable usage (there are 37*26*6
([A-Z][A-Z0-9 ], %,$,float and arrays on those 3 types) once, rather
than lookup tables or other methods for allocation.

   Given that this project's not getting much work done on it at all,
this is all rather academic.

Nathan

--
<*> Nathan Mates http://www.visi.com/~nathan/      <*>
# What are the facts? Again and again and again-- what are the _facts_?
# Shun wishful thinking, avoid opinion, care not what the neighbors
# think-- what are the facts, and to how many decimal places?  -R.A. Heinlein