Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #138

Re: Applesoft syntax

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 <brendan.robert@gmail.com>
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> (permalink)
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

Show key headers only | View raw


I would think that you should be able to enter in the program, then use a basic disassembly (or listing) to confirm that the disassembled version matches up.  This won't catch everything, but it could at least call out any tokenization 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 did 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 going the slow route: Copy all to clipboard and then from the basic prompt press ctrl+ins to paste it in line by line for applesoft interpretation.  Not exactly ideal, but a start...

-B

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-05 14:58 -0800
  Re: Applesoft syntax magnusfalkirk <dean.phares@gmail.com> - 2012-02-05 15:52 -0800
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-06 16:01 -0800
  Re: Applesoft syntax BLuRry <brendan.robert@gmail.com> - 2012-02-05 22:02 -0800
    Re: Applesoft syntax Joshua Bell <inexorabletash@gmail.com> - 2012-02-06 00:06 -0800
      Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-06 15:41 -0800
        Re: Applesoft syntax Joshua Bell <inexorabletash@gmail.com> - 2012-02-06 21:31 -0800
  Re: Applesoft syntax "Michael J. Mahon" <mjmahon@aol.com> - 2012-02-08 11:28 -0800
    Re: Applesoft syntax Antoine Vignau <antoine.vignau@laposte.net> - 2012-02-08 12:07 -0800
      Re: Applesoft syntax David Schmidt <schmidtd@my-deja.com> - 2012-02-08 15:30 -0500
        Re: Applesoft syntax Jerry <awanderin@yahoo.ca> - 2012-02-08 21:19 -0700
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-08 13:40 -0800
  Re: Applesoft syntax "Anton Treuenfels" <teamtempest@yahoo.com> - 2012-02-08 19:43 -0600
    Re: Applesoft syntax BLuRry <brendan.robert@gmail.com> - 2012-02-08 22:49 -0800
      Re: Applesoft syntax "Michael J. Mahon" <mjmahon@aol.com> - 2012-02-09 00:41 -0800
        Re: Applesoft syntax Joshua Bell <inexorabletash@gmail.com> - 2012-02-09 20:56 -0800
          Re: Applesoft syntax Jerry <awanderin@yahoo.ca> - 2012-02-10 01:43 -0700
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-09 14:08 -0800
      Re: Applesoft syntax Vladimir Ivanov <vladitx@XXXyahooXXX.com> - 2012-02-10 12:04 +0200
        Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-11 15:16 -0800
          Re: Applesoft syntax Vladimir Ivanov <vladitx@XXXyahooXXX.com> - 2012-02-12 11:57 +0200
      Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-11 14:55 -0800
  Re: Applesoft syntax finksterj <finkjsc@yahoo.com> - 2012-02-11 16:58 -0800
    Re: Applesoft syntax Deckard <boutillon@free.fr> - 2012-02-12 01:02 -0800

csiph-web