Hi there. My name is Paul Robinson. I'm working on a Cobol compiler, and looking at the Cobol 85 grammar which the author of Gold has written ("The Grammar")...
Hello guys, I am very new this field. I planning to write some tools to parse languages like VB, Powerbuilder, Java, C# etc - Identify deadcode, complexity,...
... I'm a little new at this since when I've done work on compilers either the compiler (which someone else wrote) didn't use an automated parser or (for...
... Short answer: it can't. In my previous message I promised to give an example related to your question. I've decided to focus on dead code. "Dead Code" is...
... Hey Paul, nice peace of writing. Thumbs up! Please put it in the database or a page of your choice and an entry into the link section and please allow me...
Paul, It's really very very kind of you. I sincerly appreciate your effort and time in answering my questions. Do you use any IM? It would be wonderful to...
Paul, It's really very very kind of you. I sincerly appreciate your effort and time in answering my questions. Do you use any IM? It would be wonderful to...
I have upgraded Devin Cook's VB6.0 Engine ( version 3.0.0 ) to VB.net 2005. Everything works great except one small detail that I am not able to figure out....
I'm working on a project that involves parsing some T-SQL. There are really only certain things I care about though. Is possible to define a "partial syntax"...
Hi, In the grammar, define the comments to match what's supported by T-SQL and create a single rule that treats everything else as a list of tokens. Hope this...
adrian.r.moore@...
Jul 17, 2007 2:29 pm
3070
Not to be silly, but anything you want to parse is possible. Some may require two passes or two parsers, but surely it's all doable. ... [Non-text portions of...
Hi, I'm using GOLD Parser Builder version 3.4.3 I have a very small grammer for which I've built numerous test files. I test my grammer using the "Test...
I'm working on a VBNet program that processes the path data in an SVG File. See http://www.w3.org/TR/2002/PR-SVG11- 20021115/paths.html#PathDataBNF I found...
I'm trying to parse some pascal-like code, which has nested comments. If the number of "{" does not match the number of "}", the parse fails, even though I...
It's not clear to me what you want the language syntax to be. Do you want { to mean "ignore everything until the next }" (so that you cannot put a nested...
... It's clear to me that what the original poster wants is for the open comment symbol "{ " to be the start of a comment, and when the close comment symbol "...
... comments to ... cause ... /* is ... "nested ... same ... they ... indicator ... the ... the ... never by ... What I would like is for the first "{" to...
It appears that SVG is a XML derivative. You might want to use a basic XML parser. In this case, GOLD is probably overkill. - Devin _____ From:...
Devin Cook
GOLD-Admin@...
Jul 21, 2007 11:36 am
3078
I'll take a look and fix it in the next update. Sorry for the lack of updates. I'm getting ready to convert the code from VB to C# or VB.NET. Can you e-mail a...
Devin Cook
GOLD-Admin@...
Jul 21, 2007 11:37 am
3079
You could create a definition that accepts the text as a form of whitespace. {Comment Ch} = {Printable} + {Whitespace} - [}] Whitespace = {Whitespace} | '{'...
Devin Cook
GOLD-Admin@...
Jul 21, 2007 12:00 pm
3080
... whitespace. ... Thank-you! and thank-you for GOLD too!...
The file itself is XML based, but the data I want (and can successfully extract) is an attribute 'd'. It basically describes a line. M12,12 14,14 16,16 L...
You don't need a new parser to do what you want to do. You're looking for specific values in a known syntax, for which there are already a ton of parsers....
Hi, I'm using GOLD Parser Builder I have a grammer for arabic programming language but GOLD can not deals with arabic language . Is there any ideas to solve...
Grammars are limited to the ASCII mainly for compatibility over different computer systems. Arabic characters can be specified using their Unicode character...
Devin Cook
GOLD-Admin@...
Jul 23, 2007 12:07 pm
3085
I just compiled a test version of version 3.4.4 of the Builder. http://www.devincook.com/goldparser/Builder_3_4_4_beta2.zip Let me know if this fixes the bug. ...
Devin Cook
GOLD-Admin@...
Jul 23, 2007 12:20 pm
3086
Hi Friends (at) yahoogroups.com, Recently found an interesting new (published June 2007) programming language on the web called "Katahdin" by Chris Seaton ...
... [...] ... This seem to be the critical parts. Probable meaning: one can attach further syntactical elements to each node of the predefined hierarchies and...
it's still a nice thing for a thesis :) it's like a live AST engine. actually I was trying to think of a way to generate C# AST nodes for gold grammars, I...
Actually taking this a bit further, I was inspired by TreeCC, which has a fantastic idea about generating AST nodes. I would actually just generate them as...