[il-antlr-interest: 35006] Re: [antlr-interest] Eliminate characters in TOKEN

2011-11-23 Thread Ruslan Zasukhin
{ theStart = GETCHARINDEX(); } ( ~(']') )+ { $start = theStart; EMIT(); } RBRACK ) ; -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http

[il-antlr-interest: 34991] Re: [antlr-interest] Re : reuse() methos in 3.4 C runtime/exception report

2011-11-21 Thread Ruslan Zasukhin
few days trying to learn things as deeply as possible ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman

[il-antlr-interest: 34968] [antlr-interest] [C] reuse() bug here?

2011-11-18 Thread Ruslan Zasukhin
... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http

[il-antlr-interest: 34977] Re: [antlr-interest] [C] reuse() bug here? -- IGNORE it ... Not here :)

2011-11-18 Thread Ruslan Zasukhin
On 11/18/11 5:12 PM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http

[il-antlr-interest: 34978] [antlr-interest] [C] reuse() - grow of RAM -- attempt #2.

2011-11-18 Thread Ruslan Zasukhin
); // RZ added this to see if this fixes grow of RAM. ADAPTOR-tokenFactory-reset( ADAPTOR-tokenFactory ); ((pANTLR3_COMMON_TREE_ADAPTOR)(ADAPTOR-super))-arboretum-reset( (ADAPTOR-super))-arboretum); } -- Best regards, Ruslan Zasukhin VP Engineering and New Technology

[il-antlr-interest: 34953] Re: [antlr-interest] reuse() methos in 3.4 C runtime

2011-11-17 Thread Ruslan Zasukhin
); // Reset the lexer (new function generated by antlr now) // lxr-reset(lxr); // Reset the parser (new function generated by antlr now) // psr-reset(psr); } -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software

[il-antlr-interest: 34954] Re: [antlr-interest] [C] my v3 Parser no reuse() slower 20% than v2. With reuse() 2GB leaks, oops.

2011-11-17 Thread Ruslan Zasukhin
be one of hidden bottleneck IMO. You can workaround this, if also will extract pointers into single separate structure, so instances will have just a single pointer. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds

[il-antlr-interest: 34956] Re: [antlr-interest] reuse() methos in 3.4 C runtime

2011-11-17 Thread Ruslan Zasukhin
regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman

[il-antlr-interest: 34959] Re: [antlr-interest] [C] my v3 Parser no reuse() slower 20% than v2. With reuse() 2GB leaks, oops.

2011-11-17 Thread Ruslan Zasukhin
regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman

[il-antlr-interest: 34917] [antlr-interest] [C] my v3 Parser no reuse() slower 20% than v2. With reuse() 2GB leaks, oops.

2011-11-16 Thread Ruslan Zasukhin
); mpParser -reset( mpParser ); ResetOwnData( mpParser ); } -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org

[il-antlr-interest: 34924] Re: [antlr-interest] [C] my v3 Parser no reuse() slower 20% than v2. With reuse() 2GB leaks, oops.

2011-11-16 Thread Ruslan Zasukhin
On 11/16/11 6:00 PM, Jim Idle j...@temporal-wave.com wrote: xxx: s=HEX_NUMBER { $s.type = CONST_STR_HEX; } ; Jim, This gives error as SqlParser_v3.g:879:21: cannot write to read only attribute: $u.type -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma

[il-antlr-interest: 34761] Re: [antlr-interest] .g vs .g4

2011-11-06 Thread Ruslan Zasukhin
.txt If I drag and drop file This is common practice for MAC OS for example. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http

[il-antlr-interest: 34509] Re: [antlr-interest] [C target][HEELP :-] About disable recovery ... Override recoverFromMismatchedToken() ... Linker error

2011-10-22 Thread Ruslan Zasukhin
and it is a trivial matter for you to call mismatch indirectly instead of directly in your code. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed

[il-antlr-interest: 34489] [antlr-interest] [C target] About disable recovery ... [Solution?]

2011-10-21 Thread Ruslan Zasukhin
only ONE that function should be overriden? I think in Docs, Books, Comments, this should be explained also in clean way. Right? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I

[il-antlr-interest: 34481] [antlr-interest] Typo in comments in C runtime... and Where is mismatchRecover() ??

2011-10-20 Thread Ruslan Zasukhin
-read book section. But there only Java code .. Have check C target docs ‹ nothing about recover ... Have try search email list ‹ so far nothing useful found... I think ­ C target docs should have example code ... Because very different to Java ... No exceptions ... -- Best regards, Ruslan

[il-antlr-interest: 34487] Re: [antlr-interest] [C target][HEELP :-] About disable recovery ... Override recoverFromMismatchedToken() ... Linker error

2011-10-20 Thread Ruslan Zasukhin
to copy the mismatch locally or call it via a pointer (if it is in the interface, but I think it is not). Jim *From:* Ruslan Zasukhin [mailto:ruslan_zasuk...@valentina-db.com] *Sent:* Thursday, October 20, 2011 2:30 PM *To:* Jim Idle *Subject:* [C target][HEELP :-] About disable recovery

[il-antlr-interest: 34488] Re: [antlr-interest] [C target][HEELP :-] About disable recovery ... Override recoverFromMismatchedToken() ... Linker error

2011-10-20 Thread Ruslan Zasukhin
On 10/21/11 12:41 AM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: You need to copy the mismatch locally or call it via a pointer (if it is in the interface, but I think it is not). Jim, This not works, because mismatch() calls other static hidden functions. Oops ... E.g. error

[il-antlr-interest: 34413] [antlr-interest] [Q] how rewrite tree for this simple rule with alternatives?

2011-10-15 Thread Ruslan Zasukhin
for v3? In examples of ANTLR I have not found any that use imaginary tokens btw... Thank you for any ideas... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need

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

2011-10-13 Thread Ruslan Zasukhin
...@antlr.org [mailto:antlr-interest- boun...@antlr.org] On Behalf Of Ruslan Zasukhin Sent: Wednesday, October 12, 2011 11:05 AM To: antlr-interest@antlr.org Subject: [antlr-interest] Advice on best practice? Hi All, Terrence, Jim, I have review FAQs, other docs and list ... But sop far cannot find

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

2011-10-12 Thread Ruslan Zasukhin
; } But what is official point of view at current state ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http

[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

[il-antlr-interest: 34320] Re: [antlr-interest] rewrites to capture tree structure and original text

2011-10-08 Thread Ruslan Zasukhin
and be consistent for all targets Java String JointTextOfTokens( Token inStartToken, Token inEndToken ) { } c: pANTLR3_STRING JointTextOfTokens( Token* inStartToken, Token* inEndToken ) { } This can save many hours to users of your product. -- Best regards, Ruslan

[il-antlr-interest: 34196] Re: [antlr-interest] [C] code to change Token type, use char* and loose data when buffer destroyed

2011-09-28 Thread Ruslan Zasukhin
not. Then question is: how this can be solved using minimal copies? Or you think that better really use Lexer - Parser - TreeParser combination ? On 9/28/11 1:34 AM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: On 9/28/11 12:46 AM, Douglas Godfrey douglasgodf...@gmail.com

[il-antlr-interest: 34177] [antlr-interest] [C] code to change Token type, use char* and loose data when buffer destroyed

2011-09-27 Thread Ruslan Zasukhin
() can help me, But I cannot see how I can call that from my - ^( CONST_STR[ st.c_str() ] ) ??? Thank you for points ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com

[il-antlr-interest: 34190] Re: [antlr-interest] [C] code to change Token type, use char* and loose data when buffer destroyed

2011-09-27 Thread Ruslan Zasukhin
all that tokens in the array. You have give nice idea ­ join them in the TreeParser. Yes, indeed this can work... So I will play now with this way. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http

[il-antlr-interest: 34193] Re: [antlr-interest] [C] code to change Token type, use char* and loose data when buffer destroyed

2011-09-27 Thread Ruslan Zasukhin
: QuotedString {RemoveQuotePairs($QuotedString);}; fragment QuotedString: ( StringTerm )+; fragment StringTerm: Dquote ( Character )* Dquote; fragment Character: ( ' ' | AlphaChar | Punctuation | Digit ); -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software

[il-antlr-interest: 33999] Re: [antlr-interest] g++ compiler warnings on the generated lexer and parser .c files

2011-09-11 Thread Ruslan Zasukhin
On 9/11/11 9:12 PM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: For history: #pragma GCC diagnostic ignored -Wunused-label On some reason do not works I was able fix warnings from generated files and antrl.c files In the xcode * Selecting .c files * Get Info - Build panel * Add

[il-antlr-interest: 33937] [antlr-interest] [v2 to v3][C++/C] throw C++ exception from parser/tree parser.

2011-09-07 Thread Ruslan Zasukhin
, not big deal may be, but will simplify usage of ANTLR3 from box. I could read in ANTLR 3.5: just install displayRecognitionError_throw, and your parser will start throw C++ exceptions. 30 seconds deal, instead of two days and still in doubts ... -- Best regards, Ruslan Zasukhin VP

[il-antlr-interest: 33944] Re: [antlr-interest] [v2 to v3][C++/C] Fresh list of features for v3.4? // @after

2011-09-07 Thread Ruslan Zasukhin
, :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org

[il-antlr-interest: 33946] Re: [antlr-interest] [v2 to v3][C++/C] throw C++ exception from parser/tree parser.

2011-09-07 Thread Ruslan Zasukhin
? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http

[il-antlr-interest: 33849] Re: [antlr-interest] [C] Crashes if NULL name in antlr3StringStreamNew()

2011-08-31 Thread Ruslan Zasukhin
On 8/30/11 4:17 PM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: If I call input = antlr3StringStreamNew( input_string, Encoding, input_len, NULL ); NULL is name of stream Then it crashes inside of newStr8(pANTLR3_STRING_FACTORY factory

[il-antlr-interest: 33832] Re: [antlr-interest] reuse() methos in 3.4 C runtime

2011-08-30 Thread Ruslan Zasukhin
://www.antlr.org/mailman/options/antlr-interest/your-email-address -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman

[il-antlr-interest: 33836] [antlr-interest] [C] Crashes if NULL name in antlr3StringStreamNew()

2011-08-30 Thread Ruslan Zasukhin
((const char *)ptr)); crash } Because on mac and linux strlen() crashes on NULL. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed

[il-antlr-interest: 33524] Re: [antlr-interest] 3.4 C target release date?

2011-08-07 Thread Ruslan Zasukhin
://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel

[il-antlr-interest: 33328] Re: [antlr-interest] ANTLR v3.4 released! -- there is no /lib folder ?

2011-07-25 Thread Ruslan Zasukhin
it, there is no antlr-3.4/lib Lost ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr

[il-antlr-interest: 32826] Re: [antlr-interest] Question: ANTLR and LLVM ... + Clang

2011-06-18 Thread Ruslan Zasukhin
. The tools no not interface with a compiler backend or machine code generator. I see. Thanks. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need

[il-antlr-interest: 32801] [antlr-interest] Question: ANTLR and LLVM ...

2011-06-17 Thread Ruslan Zasukhin
Hi All, Have never look deeply on LLVM yet, But have got fast question Anybody can give his vision about * how ANTLR refer to LLVM? * If they can collaborate? * should I use or drop ANTLR if we will want start to use LLVM? And so on -- Best regards, Ruslan Zasukhin VP Engineering and New

[il-antlr-interest: 32802] [antlr-interest] Any comments about sematicdesign.com and their DMS ?

2011-06-17 Thread Ruslan Zasukhin
. But ... It seems they compare to old version of ANTLR .. http://www.semanticdesigns.com/products/DMS/DMSComparison.html I wonder, if anybody have any comments about them? At least privately -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc

[il-antlr-interest: 32811] Re: [antlr-interest] Question: ANTLR and LLVM ... + Clang

2011-06-17 Thread Ruslan Zasukhin
start to use LLVM? llvm doesn't provide what antlr provides. == -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List

[il-antlr-interest: 32746] Re: [antlr-interest] Extract all rules/lexems/keywords of a Language.g into XML format?

2011-06-11 Thread Ruslan Zasukhin
(or sql.g.xml, php.g.xml ) Which will contain language from .g expressed in XML format... And may be reverse task XML to .g Strange task? :) I know ... sometime late this summer I am hoping to have early access Ter On Jun 10, 2011, at 2:22 AM, Ruslan Zasukhin wrote: On 6/10/11 12

[il-antlr-interest: 32726] Re: [antlr-interest] Extract all rules/lexems/keywords of a Language.g into XML format?

2011-06-10 Thread Ruslan Zasukhin
any EDITOR app can use later ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest

[il-antlr-interest: 32723] [antlr-interest] Extract all rules/lexems/keywords of a Language.g into XML format?

2011-06-09 Thread Ruslan Zasukhin
ANTLR in this way. This will open new roads for its usage probably. And this can be for us - users of ANTLR as easy as Option output = XML What you think ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds

[il-antlr-interest: 32338] Re: [antlr-interest] Is there a safe and easy way to reuse LEXER and PARSER objects on C target?

2011-04-29 Thread Ruslan Zasukhin
special example/test of this in that snapshoot? * does exists any special example/test of this in the official archive of ANTLR3? * how many weeks you think? Worse case? * any chance to get this working using official release 3.3? -- Best regards, Ruslan Zasukhin VP Engineering and New

[il-antlr-interest: 32259] Re: [antlr-interest] Is there a safe and easy way to reuse LEXER and PARSER objects on C target?

2011-04-20 Thread Ruslan Zasukhin
-- === Regards Ronghui Yu List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc

[il-antlr-interest: 32267] Re: [antlr-interest] Is there a safe and easy way to reuse LEXER and PARSER objects on C target?

2011-04-20 Thread Ruslan Zasukhin
destroy all objects (tokens, ast) at once. Reuse() will destroy not needed objects? Btw, this is great to have own mempool. I believe in v2 I have see that tons of destructor calls for each item... Profiles did show 5-10% for destructors... -- Best regards, Ruslan Zasukhin VP Engineering

[il-antlr-interest: 32239] Re: [antlr-interest] v2-v3 Skip wrapper and inside quotes in LITERAL of SQL // description.

2011-04-18 Thread Ruslan Zasukhin
QUOTE QUOTE. So lexer will send to parser Token ( 'aaa''bbb''ccc' ) But should sent Token ( aaa'bbb'ccc ) Or I do smoke wrong staff??? :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http

[il-antlr-interest: 32215] Re: [antlr-interest] v2-v3 Skip chars in Lexer? Terrence?

2011-04-17 Thread Ruslan Zasukhin
? Then for RARE case-sensitive , it will be great to automated way. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman

[il-antlr-interest: 32216] Re: [antlr-interest] v2-v3 Skip chars in Lexer? Terrence?

2011-04-17 Thread Ruslan Zasukhin
On 4/17/11 11:06 AM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: but basically it is easy to strip leading and trailing characters as the tokens carry pointers, so get the start pointer, increment it, get the end point, decrement it, now Do not use the built in $token.text-chars

[il-antlr-interest: 32218] Re: [antlr-interest] v2-v3 Skip chars in Lexer? For C-target [SOLVED 2.5]

2011-04-17 Thread Ruslan Zasukhin
we cannot do just ++ \ -- I do not see yet the whole picture how works lexer on low level in C. Also I do not see yet any clean information about UTF encodings in C-target. I am going ask about this in future letters. -- Best regards, Ruslan Zasukhin VP Engineering and New

[il-antlr-interest: 32229] Re: [antlr-interest] v2-v3 Skip chars in Lexer. DELIMITED IDENT [SOLVED v3] :-)

2011-04-17 Thread Ruslan Zasukhin
) ; -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org

[il-antlr-interest: 32208] [antlr-interest] v2-v3 Skip chars in Lexer?

2011-04-16 Thread Ruslan Zasukhin
quotes around IDENT, and in case of inside we have skiped second. I have spent few hours to try found analog for v3 and no success. All v3 grammars I have check, DO NOT ignore any symbols. Why? How to remove that quotes in v3? :-) -- Best regards, Ruslan Zasukhin VP Engineering and New

[il-antlr-interest: 32210] Re: [antlr-interest] v2-v3 Skip chars in Lexer? Terrence?

2011-04-16 Thread Ruslan Zasukhin
with strings ?? Somehow not best of the best? May be it is good idea RETURN BACK that simple way to skip that chars right in lexer? On Sat, Apr 16, 2011 at 12:06 PM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: ... How to remove that quotes in v3?  :-) Here's a way

[il-antlr-interest: 32211] Re: [antlr-interest] v2-v3 Skip chars in Lexer? // FAQ only for Java. What about C? :-)

2011-04-16 Thread Ruslan Zasukhin
/pages/viewpage.action?pageId=1844 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest

[il-antlr-interest: 32212] Re: [antlr-interest] v2-v3 Skip chars in Lexer? For C-target [SOLVED]

2011-04-16 Thread Ruslan Zasukhin
, pFirstQuote + 2, CharsToMove ); // prepare for possible next loop: pStart = pFirstQuote + 1; pStr-len--; } SETTEXT( pStr ); } ; -- Best regards, Ruslan Zasukhin VP Engineering and New Technology

[il-antlr-interest: 31915] Re: [antlr-interest] Q: move from v2 to v3 parser grammar. Rewrite tree rule

2011-03-23 Thread Ruslan Zasukhin
, the names of tokens literals in V2 had a Literal_ prefix in their names Yes, in C++ code ... Yes But in the error messages was quite correct names of tokens ... It seems For example expected from -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software

[il-antlr-interest: 31879] Re: [antlr-interest] Q: move from v2 to v3 parser grammar. Rewrite tree rule

2011-03-22 Thread Ruslan Zasukhin
and also an ast operator As I understand, - is re-write syntax ^is AST operator ... Matt On Sun, Mar 20, 2011 at 10:40 AM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: Hi All, In v2 grammar we have rule

[il-antlr-interest: 31883] Re: [antlr-interest] Q: move from v2 to v3 parser grammar. Rewrite tree rule

2011-03-22 Thread Ruslan Zasukhin
On 3/22/11 8:11 PM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: IF to remove ^ ( union | except )^ query_expression    :    query_term (( union | except ) all? query_term)* - ^(QUERY_EXPRESSION $query_expression) then all looks correct, but tree is empty from

[il-antlr-interest: 31893] Re: [antlr-interest] Q: move from v2 to v3 parser grammar. Rewrite tree rule

2011-03-22 Thread Ruslan Zasukhin
stream as in the example below and specify all your keyword/lexer tokens in UPPER CASE only JOIN above is that UPPER CASE example? I ask because 'join' above still is in low case ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc

[il-antlr-interest: 31272] [antlr-interest] Feature for ANTLR Works

2011-01-29 Thread Ruslan Zasukhin
-- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org

[il-antlr-interest: 29011] Re: [antlr-interest] ANTLR v4 progress // switch fro v2.7.2

2010-05-26 Thread Ruslan Zasukhin
will be your advice: jump in nearest months to v3, and later this will move smooth to v4 also. Or just wait for v4 to avoid too big transfers? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http