At 3:03 PM +0200 on 4/5/00, M. Uli Kusterer wrote:
> remap "look up %1 in %2 (using method %3)" to "lookUp"
Ak -- no. It's not English-like enough.
>Of course, a command like the above "remap" could be used
>to give more comprehensible syntax to plug-in commands. I guess that's what
>you wanted to say, right?
You're barking up the wrong tree if this is what you aim for. I'm
inclined to allow you to define a new sytax -- a completely new syntax.
An example might be (we'll need to figure out the FreeScriptish way of
doing this):
Add Command
"play MP3 " <STRING>
With Definition type NullCPU Asm
POP file_name
PUSH "mp3play"
CALL "LoadXCommand"
PUSH file_name
CALL "DoXCommand"
End Command
*or*
Add Command
"play MP3 " <STRING>
With Definition
mp3play param(1)
End Command
NOTE: I'm pretty sure I have not completely lost it. If it becomes far
to hard to implement, I might have to forget it... but I don't see that
happening.
>I'm sure we'll find a way to allow some degree of customization, but
>it probably won't be that you have a dialog where you can select the
>commands to include on a per-command basis.
We could do this for some platforms -- such as Unix. We'd have to make
very liberal use of the linker, though.