[il-antlr-interest: 33948] Re: [antlr-interest] How can I get the string contents of a Kleene Closure?

2011-09-07 Thread Douglas Godfrey
rich_newick_string : semicolon_terminated_string { stack.pushRichNewickString($semicolon_terminated_string.text); }; semicolon_terminated_string : (.*';') ; On 9/6/11 5:44 PM, "Dejas Ninethousand" wrote: >I have the following production in my ANTLR grammar: > >rich_newick_string >: str=(.*'

[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
On 9/7/11 7:36 PM, "Jim Idle" wrote: Hi Jim, > You remember that this is all open source, freely given right? Of course I do :-) And I have read sources of ANTLR 3.4, be sure. Btw, my congratulations and respect. Very high quality code. > Generally, > don't try and mix C++ things in with the

[il-antlr-interest: 33945] Re: [antlr-interest] ANTLRWorks 2 (for ANTLR v4)

2011-09-07 Thread James Reid
I for one would like to see it based off of the Netbeans Platform. I have my own editor for an inhouse language that is built on top of Netbeans and I use ANTLR for my lexing/parsing and the parsing loop works great. With that aside, my biggest complaint would be the editor responsiveness that An

[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
On 9/7/11 7:30 PM, "Jim Idle" wrote: Hi Jim, > It is a C target not a C++ target, so it is raw and closer to the metal. > It is a lot faster than the 2.7 C++ target as a result, but you have to > dig a little. I very hope on this btw, because ANTLR 2.7 parser, which we have used in Valentina wa

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

2011-09-07 Thread Jim Idle
You remember that this is all open source, freely given right? Generally, don't try and mix C++ things in with the C. Exceptions are almost certainly not want you want for error reporting while parsing anyway. As I said earlier, copy the existing routine and adapt it. It does as many things as it

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

2011-09-07 Thread Jim Idle
It is a C target not a C++ target, so it is raw and closer to the metal. It is a lot faster than the 2.7 C++ target as a result, but you have to dig a little. Starting at the C API documentation linked from the ANTLR front page, select ANTLR3 C Usage Guide then Using the ANTLR3 C Target, then impl

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

2011-09-07 Thread Ruslan Zasukhin
Hi Terrence, Hi Jim, First of all again: thank you for great job and product(s), Please do not take below my text as complains, but mainly as explanation where C++ developer get problems with ANTLR3 and why ... And some suggestions how this can be may be improved. Long letter but should be easy t

[il-antlr-interest: 33936] Re: [antlr-interest] Problems with Visual Studio 2010 and C#

2011-09-07 Thread Sam Harwell
Hi Amelie, You can find the latest version of the C# targets along with instructions for setting up your project in Visual Studio at the following location: http://www.antlr.org/wiki/display/ANTLR3/Antlr3CSharpReleases Thanks, Sam -Original Message- From: antlr-interest-boun...@antlr.org

[il-antlr-interest: 33935] Re: [antlr-interest] Problems with Visual Studio 2010 and C#

2011-09-07 Thread pragmaik
Hi Amelie! I'm using the same constellation and it works fine (there is a small issue when using StringTemplate, but you can find a workaround here: http://antlr.1301665.n2.nabble.com/Problems-with-Tree-Grammars-outputting-Templates-in-C-td6724828.html#a6766948). The method you are looking for is

[il-antlr-interest: 33934] [antlr-interest] Problems with Visual Studio 2010 and C#

2011-09-07 Thread Mueller, Amelie
Hello, I'm currently working at a Project in cooperation with Thermo Fisher Scientific. We have chosen to take ANTLR as a tool . Right in the beginning a Problem appeared, when I try to run just a Example. I´m working with Visual Studio 2010 and use a C# Windows Form Application where I want to i

[il-antlr-interest: 33933] Re: [antlr-interest] Get tokens in the Hidden channel

2011-09-07 Thread Jayani Withanawasam
Found the solution! You can retrieve comments from CommonTokenStream. It contains all the tokens including tokens in the hidden channel. Thanks everyone! Jayani. From: Jayani Withanawasam Sent: Tuesday, September 06, 2011 9:10 PM To: antlr-interest@antlr.org. Cc: Rajitha Jayawickrama

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

2011-09-07 Thread Ruslan Zasukhin
Hi Terrence, Hi Jim, Our status is: * we have used ANTLR 2.7 C++ in our Valentina DB engine near to 10 years. * we have start smooth steps to ANTLR3 switch more of year ago ... always something have interrupt us. Now we have working grammar, and tree parser grammar, and all this is integrate

[il-antlr-interest: 33931] Re: [antlr-interest] Problems with Tree Grammars outputting Templates in C#

2011-09-07 Thread pragmaik
Hi Sam! Works great now! Thank you very much! Maik -- View this message in context: http://antlr.1301665.n2.nabble.com/Problems-with-Tree-Grammars-outputting-Templates-in-C-tp6724828p6766948.html Sent from the ANTLR mailing list archive at Nabble.com. List: http://www.antlr.org/mailman/listin