On 6/11/11 3:16 AM, "Terence Parr" <pa...@cs.usfca.edu> wrote:
Hi Terrence, > Hi. Let me be more specific...I am going to serialize entire grammar as an > augmented transition network into any generated parser or lexer. This will > improve your recovery and error messages. There will be an API to figure out > what could've come next. I won't be using XML. Okay, this sounds like feature, which will help us build a smart auto-completion list of next token ... Right? Very nice. > As for the GUI widget, I'm providing a simple widget that, using reflection if > I remember correctly, pulls out the appropriate information from a > parser/lexer and then manages to automatically syntax highlight and flag > erroneous syntax. For semantics, the programmer would be on their own. It is a > cheap way for someone to get an editor for their DSL. I do not catch ... Widget Java only? What will do C++ developers :-) Actually we think not about GUI widget, but about Feature of ANTLR to produce XML file from any grammar Example: Exists cpp.g sql.g php.g We add into that .g or into antlr -switch output=xml and > antlr putput=xml cpp.g Will produce cpp.g.xml (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:37 AM, "Terence Parr" <pa...@cs.usfca.edu> wrote: >> >> Hi Terence, >> >>> i have something like this but am not done. >> >> AST of any grammar into XML ? >> >> Great! >> >> Just keep in mind please that cTAG and GCC-XML products and their tasks. >> I believe ANTLR is a goold-tool to do same -- even better -- even more. >> >> >> This do not presents in the v4 betas yet? >> Any chance on "early access"? :-) >> >> >>> v4 will have a syntax highlighting editor as a standard widget. >> >> Can you explain this in more details? >> >> You mean syntax highlighting editor where? >> in ANTLRworks? >> >> Or ANTLR will be able produce something what >> 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 Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.