for example: lock tubes 1 2 3 on raider dispersion 2 offset 5
lock tubes 1 2 3 on raider dispersion 2 offset 5
"lock" and "on" are "noise tokens".
why wouldn't this mean the same thing?
di 2 of 5 t 1 2 3 rai
raider(this target perhaps amongst many), dispersion 2, offset 5 deg, tubes 1,2,3.
Also, sounds like instead of "rai di 2 of 5 t 1 2 3", I could say : raider d 2 o 5 f 1 2 3 ? raider p(dispersion) 2 o(offeset) 5 fire(tubes) 1 2 3?
It appears to me that the grammar needs to be worked out for each "command" to the crew.
Interesting problem.
I think that it is easy to tell if each token on command line is number or not and if it is a alpha token, whether that is unique or not - I think the hard part is to determine what happens. I'm sure that there must be other commands like "dive and maintain 300 ft" or whatever.
In reply to Re: Regex - Matching prefixes of a word
by Marshall
in thread Regex - Matching prefixes of a word
by SuicideJunkie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |