[il-antlr-interest: 34367] [antlr-interest] ICECCS 2012 - Call for Papers

2011-10-12 Thread Isabelle Perseil
CALL FOR PAPERS: ICECCS 2012 http://www.iceccs.org/ 17th Annual IEEE International Conference on the Engineering of Complex Computer Systems (ICECCS) sponsored by the IEEE Technical Committee on Complexity in

[il-antlr-interest: 34372] [antlr-interest] Advice on best practice?

2011-10-12 Thread Ruslan Zasukhin
Hi All, Terrence, Jim, I have review FAQs, other docs and list ... But sop far cannot find isolated advices/tips of kind * Tend develop grammar as k=1 AVOID to use k=*, because this is slower ... OR reverse * No problems to use k=* Always prefer to use k=* and do not worry ... Speed will

[il-antlr-interest: 34373] Re: [antlr-interest] Advice on best practice?

2011-10-12 Thread Ruslan Zasukhin
On 10/12/11 9:04 PM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: Hi All, Terrence, Jim, I have review FAQs, other docs and list ... But sop far cannot find isolated advices/tips of kind * Tend develop grammar as k=1 AVOID to use k=*, because this is slower ... OR

[il-antlr-interest: 34374] Re: [antlr-interest] Advice on best practice?

2011-10-12 Thread Jim Idle
Avoid backtracking like the plague if you need performance. But if you are careful in the order of your alts and use it on just a few decisions/rules, then it might not be so bad (but remember that your error messages will be weak). If k=1 on a decision then ANTLR will work that out so you don't

[il-antlr-interest: 34375] [antlr-interest] Advice on SQL grammar

2011-10-12 Thread Brian Lavender
I am analyzing a set of SQL queries to see what tables and columns are touched. They are select queries in Oracle using a handful of functions such as NVL2, DECODE, and other functions. While I have seen grammars for Oracle, it seems that digging through them has been confusing not to mention one

[il-antlr-interest: 34376] Re: [antlr-interest] Advice on SQL grammar

2011-10-12 Thread Ivan Brezina
Hi can you please an example of that query? Ivan PS: latest trunk of PL/SQL grammar can be checked out from https://tora.svn.sourceforge.net/svnroot/tora/branches/tora-trotl/sandbox On 10/12/2011 09:14 PM, Brian Lavender wrote: I am analyzing a set of SQL queries to see what tables and

[il-antlr-interest: 34378] Re: [antlr-interest] Infinite loop after upgrade to 3.3

2011-10-12 Thread Ben Dotte
I was able to get things running again by removing the implicitAndSearch parser rule from the chain. Unfortunately I still need a way to consider multiple consecutive terms as and searches. I tried combining the andSearch and implicitAndSearch rules to look like this:

[il-antlr-interest: 34382] [antlr-interest] crash burn on C runtime

2011-10-12 Thread Brian Lavender
Missing header file it appears. fix? cost: 1019 states, 98 ms gcc -ggdb -O0 -fno-inline -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/home/brian/pkg/antlr-3.3/runtime/C/include -I/home/brian/pkg/antlr-3.3/runtime/C -c OracleSQLParser.c -o OracleSQLParser.o In

[il-antlr-interest: 34383] Re: [antlr-interest] crash burn on C runtime

2011-10-12 Thread 金杰
Have you tried to use find /home/brian -name antlr3config.h to locate antlr3config.h? I guess that you must have not type make install to install antlr3. My suggestion is first install antlr3 make DESTDIR=/opt/antlr3c install On Thu, Oct 13, 2011 at 8:17 AM, Brian Lavender br...@brie.com wrote: