Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!xmission!news.bbs-scene.org!not-for-mail From: Jerry Newsgroups: comp.sys.apple2.programmer Subject: Re: Applesoft syntax Date: Wed, 08 Feb 2012 21:19:13 -0700 Organization: bbs-scene usenet news Lines: 32 Message-ID: References: <89aca5f9-7923-41cf-9331-e6f7ae9230c6@k10g2000yqk.googlegroups.com> NNTP-Posting-Host: d50-99-206-130.abhsia.telus.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.bbs-scene.org 1328761153 24957 50.99.206.130 (9 Feb 2012 04:19:13 GMT) X-Complaints-To: abuse@bbs-scene.org NNTP-Posting-Date: Thu, 9 Feb 2012 04:19:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:iWzGETKR+7brpa2wydtWC/+2zek= Xref: x330-a1.tempe.blueboxinc.net comp.sys.apple2.programmer:155 David Schmidt writes: > On 2/8/2012 3:07 PM, Antoine Vignau wrote: >> Can't LIST and one's eyes be the perfect debugging tool for Applesoft >> programs? > > Yes, of course. CiderPress and AppleCommander have Applesoft listers > - > if it comes out correctly (i.e. no strange nonsense "code" in the > middle of a line because of strange tokens) then the code is > demonstrably syntactically correct. > > I suspect Deckard wanted to know about semantic correctness, though. > I seem to remember a static analyzer out there that considered > dangling line references and other low-hanging fruit. A line > renumberer would have the kind of framework in place to check for some > referential correctness. There were some Nibble programs from ~1982 that did some stuff like this: Line Cruncher and Variable cruncher by Alan & Valerie Floeter, IIRC. I don't think they really checked semantic correctness, but they might have been able to spot dangling GOTOs. The PDFs of the magazines are for sale from the original publisher, but he has disk images of many of his programs available free on his site: http://www.nibblemagazine.com. -- -- Jerry awanderin at yahoo dot ca