#Command tokenization?
13 messages in this thread
Hello Bill,
in your original ARexx manual on page 23 I just read:
Argument Strings: ….ARexx programs invoked as commands normally have only
one argument string, although the "command tokenization" option may provide
more than one.
What does it mean: "invoked as commands" and furtheron "command tokenization"?
Thanx
-Mike
CompuStore GmbH – Michael Metz – Fritz-Reuter-Str.6 – D-60320 Frankfurt Tel:
+49 69 567399 – CI$ 71001,210 – Fax: +49 69 5601784
Mike,
ARexx programs can be launched either as commands (for example, from a shell)
or as functions (as in a CALL instruction.) When an ARexx program is launched
as a command, it usually has just a single argument string, typically the
remainder of the string that was typed to launch the program. In contrast, a
program launched as a function may have a number of argument strings.
ARexx has an interface option that can be set by the developer to "tokenize"
the command string, in which case a program launched as a command may have
multiple arguments. The developer of an ARexx interface may also choose to
launch ARexx scripts as functions and apply an appropriate algorithm (for
example, AmigaDOS command parsing) to determine the argument strings.
The REXX function arg() can be used to find the number of argument strings and
their values.
-Bill Hawes
This is probably a dumb question, but do you have any plans to update the
ARexx implementation?
Paul
Just out of curiosity… update it how? I'm pretty pleased with what we
have, regarding the interpreter. A compiler would be nice for some people,
I suppose, but I'm not in need there… and the rest of it works very,
very well.
–Ben
…via AutoPilot
Ben-
I read a while ago in, I think, OS/2 Developer, but maybe somewhere
else, about various enhancements/fixes being proposed for and implemented
in a newer REXX standard. I can't remember them all off the top of my
head, but I could dig up the article if you'd like. (It might even have
been an Amiga magazine.)
And yah, a standard compiler would be nice, though I think there're 3d
party solutions that fill the niche.
Paul
yeah, there's a rexx compiler lurking somewhere about… don't need it
myself, but end users might just be real happy to speed things along once
htey build the initial script.
My solution to slow stuff is to use a faster machine. :^)
<Now… how do I get an 060 in my Amiga, he muttered>
–Ben
…via AutoPilot
> My solution to slow stuff is to use a faster machine.
Or a better algorithm, of course. 🙂
-larry
Or… both. :^)
–Ben
…via AutoPilot
Hello Paul,
there exists a compiler for ARexx.
The address of the manufacturer is:
Dineen Edwards Group 19785 West Twelve Mile Road, Suite 305 Southfield,
Michigam 48076-2553
Phone/Fax: (313) 352-4288
Price ~USD 180,– additional Libraries ~USD 30,–
CompuStore GmbH – Michael Metz – Fritz-Reuter-Str.6 – D-60320 Frankfurt Tel:
+49 69 567399 – CI$ 71001,210 – Fax: +49 69 5601784
Paul,
We're currently mailing a survey questionnaire to our ARexx customers to help
determine the level of interest in future updates. If you're one of our
registered ARexx customers, you'll be receiving a survey soon and can let us
know your thoughts on the subject. If you're not on our customer list, you're
always welcome to provide suggestions and comments here in our public support
area.
-Bill Hawes
Thanx Bill,
I've got you
CompuStore GmbH – Michael Metz – Fritz-Reuter-Str.6 – D-60320 Frankfurt Tel:
+49 69 567399 – CI$ 71001,210 – Fax: +49 69 5601784