Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

User defined functions within the grammer

3 views
Skip to first unread message

Ilan Khdavi

unread,
Feb 4, 2001, 8:04:12 PM2/4/01
to
Hi,

I want to use JAVACC for parsing and evaluating expressions (involving
operators and functions).
I understand that the grammar should be known prior to compilation.
However our specification requires that the end user will be able to
write its own functions as part of the expression.
How can I identify "user functions" as tokens although they don't appear
in the grammar? How can I evaluate them?
Is there any predefined grammar for this purpose?

Thanks in advance
Ilan

---

0 new messages