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

Re: CiderPress v2.3.1 released



Shawn B. <leabre@html.com> wrote:
>> New features:
>> - Import Applesoft BASIC programs from text files.  A text listing with
>>  one line of Applesoft code per file line can be directly converted to
>>  a BAS file on a disk image or ShrinkIt archive.
> 
> though the BASIC import is very very nice, you should prompt upon syntax 
> errors.  In a 200+ line program I typed in from Nibble, I can't tell you how 
> many illegal characters or bad syntax issues got imported in.  Anyway, good 
> work.  I still hope you can detect syntax issues during import and prompt me 
> before I have to keep going to the emulator and figuring out what the 
> problem is.

That would require a partial BASIC interpreter.  CiderPress only does
as much as Applesoft itself would if you did an EXEC on the text file,
scanning and tokenizing.  Checking for syntax errors, incorrect variable
names, and so on, is more involved.

Essentially you'd need a second pass, walking through the tokenized
Applesoft program and looking for problems.  If somebody wants to write
that in C/C++ and give it a BSD-ish license or donate it to the public
domain, I'll tuck it into CiderPress.

-- 
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
CD-Recordable FAQ - http://www.cdrfaq.org/
CiderPress Apple II archive utility for Windows - http://www.faddensoft.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/