I'm applying rules to a token stream that will include terms like "32%" and
"401k". Since I've written a large number of Userfunctions to help me
with the rules, and since those deal strictly with StringValue(), I'd like
to treat all of my tokens like strings. Thus, I have two problems with
the way Jess works "out of the box":
1) If I reference something like 401k in a create$ statement (i.e.
(create$ what is in my 401k), then Jess breaks it up: what is in my 401 k.
2) Jess won't let me take the stringValue() of the 401 token - it keeps
telling me "not a string".
Where do I have to insert changes? *Can* I replace the tokenizer? I wrote a
lexer that parses the tokens the way I want, and attempted to create a
ValueVector consisting of a bunch of Value(x, RU.STRING) objects for each
token. But...now what? How do I get that ValueVector recognized within
my Jess program?
Duane
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------