💾 Archived View for mirrors.apple2.org.za › archive › ground.icaen.uiowa.edu › apple8 › Appleworks ›… captured on 2023-01-29 at 10:45:46.

View Raw

More Information

-=-=-=-=-=-=-

GRAMMAR CHECKER modified by George B. Zamroz

A while back, a grammar checker was posted on the net that was written under
Ultramacros. A grammar checker is useful in any form of writing, and one
written as macros is also good practice when learning to write macros of your
own.

Unfortunately, the grammar checker was difficult to read, and had a far
few bugs in it. Therefore, I undertook the task of enchancing of grammar
checker until I was happy with it's operation. I firstly reformatted the entire
macro set so that it was easier to read. I then went about fixing the bugs and
otherwise improving the code. By the time I was finished with this, I found I
had a few hundred bytes left in the macro table, and so I added a few extra
messages in order to give some feedback during the process of checking. There
is still a fair bit of space left which I may make use of when I think of
something appropriate.

One change I made was to combine all the individual macros within each macro
set into single a macro. This saved a lot of space, and drastically reduced the
amount of macros defined. A side affect of this is that you can't simply blank
out a colon to disable a particular check, but you need to do is simply copy
the check you don't want after the ">!" of the macro. Move it back inside the
macro to reactivate it again.

Tha grammar checker will relaunch your default macros when you exit, so make
sure that the second macro in your default set is something fairly harmless
since it gets executed whenever a task file is launched. Also, on my particular
setup, it leaves the desktop menu on the screen. This seems to be a problem
with the launch command of Ultramacros, but could be realted to my particular
setup, so I wouldn't worry about it too much.

I have also included a copy of the original documentation for those that missed
it the first time. Any comments can be e-mailed to me at the address below.

Net: g8247032@cs.uow.edu.au