(no more dummy alt ctrl shift keys to split expressions on several
trigger action and global key commands)
Lot of thanks for your work and thinking Brent
Cheers
--- In [email protected], "Brent Easton" <[EMAIL PROTECTED]>
wrote:
>
> >The big drawback though is that the current form of the 'Matching
property' expressions are not
> >properly formed expressions and cannot be evaluated by JEP. The
current 'Matching property'
> >expressions do not require strings to be quoted. The result is
that incorporating JEP for
> >property expressions would mean that all existing 'Matching
Property' expressions would need
> >to be modified.
>
> The moment I hit return, I realised that I can probably work around
this...
>
> Will have to get back this :)
> ____________________________________________________________
> Brent Easton
> Analyst/Programmer
> University of Western Sydney
> Email: [EMAIL PROTECTED]
>
--- In [email protected], "Brent Easton" <[EMAIL PROTECTED]>
wrote:
There is in fact a suitable, freely licenced, general purpose
_expression_ parse called JEP (Java _expression_ Parser). I am planning
to incorporate this at some stage into the final 'programmable
VASSAL' component, a sort of combined _expression_ parser, case
statement and keycommand generator.
JEP works well, though requires a bit of work setting up an
_expression_ cache to ensure it doesn't bog down the system when used
in multiple counters.
It also parses and evaluates logical expressions, so can be used to
evaluate 'Matching Property' strings. In fact, I tested this and it
worked well.
The big drawback though is that the current form of the 'Matching
property' expressions are not properly formed expressions and cannot
be evaluated by JEP. The current 'Matching property' expressions do
not require strings to be quoted. The result is that incorporating
JEP for property expressions would mean that all existing 'Matching
Property' expressions would need to be modified.
SPONSORED LINKS
| Card games | Game pieces | Wargaming |
| Game play |
YAHOO! GROUPS LINKS
- Visit your group "vassalengine" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
