Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: BLuRry Newsgroups: comp.sys.apple2.programmer Subject: Re: Applesoft syntax Date: Sun, 5 Feb 2012 22:02:02 -0800 (PST) Organization: http://groups.google.com Lines: 16 Message-ID: <21306698.2616.1328508122575.JavaMail.geo-discussion-forums@vbxy22> References: <89aca5f9-7923-41cf-9331-e6f7ae9230c6@k10g2000yqk.googlegroups.com> Reply-To: comp.sys.apple2.programmer@googlegroups.com NNTP-Posting-Host: 70.123.154.97 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1328508209 22039 127.0.0.1 (6 Feb 2012 06:03:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 6 Feb 2012 06:03:29 +0000 (UTC) In-Reply-To: <89aca5f9-7923-41cf-9331-e6f7ae9230c6@k10g2000yqk.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.123.154.97; posting-account=HyIOQgoAAAAfAUGOevdCSBhPYcDSPtM9 User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.sys.apple2.programmer:138 I would think that you should be able to enter in the program, then use a b= asic disassembly (or listing) to confirm that the disassembled version matc= hes up. This won't catch everything, but it could at least call out any to= kenization issues. A long while back I started implementing an applesoft grammar parser, with = the hope of going beyond that. Though I didn't implement a tokenizer, I di= d write a disassembler that can take a binary basic file and render it back= to ascii text. The code for this is buried in the jace.appelesoft package= of the JACE codebase -- and it's what I used to disassemble lemonade stand= and convert everything to lowercase. For retokenization, I'm currently go= ing the slow route: Copy all to clipboard and then from the basic prompt pr= ess ctrl+ins to paste it in line by line for applesoft interpretation. Not= exactly ideal, but a start... -B