Hi, I hope someone can help me with a problem I'm having. First, some background. I needed to define two tokens, one of which is for identifiers (restricted...
I decided to collect comments by caching the comments during the parse phase. When you execute a parse step you'll get back a message letting you know that the...
I need to parse C++ header files and need to know if anyone has written a C++ Grammar for Gold Parser. I would hate to duplicate effort. Thanks in advance, ...
I just found GOLD and am quite used to Lua. So I decided to see if I could put together a grammar file for the Lua language. In the Lua manual it has the...
Hello everyone, I've become very, very behind on my e-mails. In fact, I am literally buried! As a result, I haven't been able to respond to many of them. I am...
I don't know of any C++ grammars offhand. There is a grammar for the C# language – which is almost complete. C++ is a very difficult language to parse. Some...
Devin Cook
GOLD-Admin@...
Nov 2, 2007 6:43 am
3212
EBNF has a number of constructs that are not supported by the standard BNF format. Generally, the 1-to-infinity and 0-to-infinity list have to be converted to...
Devin Cook
GOLD-Admin@...
Nov 2, 2007 7:46 am
3213
... The definition you wrote for the identifiers and strings can accept many of the name keywords. For instance, the string "test" can be accepted by both ...
Devin Cook
GOLD-Admin@...
Nov 2, 2007 7:46 am
3214
Great point. The application currently uses the MDI interface. When I port the Builder to VB.NET, I should be able to add dockable/undockable windows. Have a...
Devin Cook
GOLD-Admin@...
Nov 2, 2007 8:10 am
3215
The following grammar does not work in GOLD, it gives a reduce-reduce error. !------------------------ "Case Sensitive" = 'True' "Start Symbol" = <Program> <c>...
Thanks for your reply. It's probably my fault for not explaining myself clearly enough, but I think you've misunderstood the problem I was trying to explain. ...
Hello again, Do you still need help with the C# grammar? - Devin _____ From: GOLDParser@yahoogroups.com [mailto:GOLDParser@yahoogroups.com] On Behalf Of...
Devin Cook
GOLD-Admin@...
Nov 2, 2007 10:32 am
3218
I don't have a copy of the grammar offhand. If you can located a copy of it in YACC/Bison, then it can be imported into GOLD. Have a great day - Devin _____ ...
Devin Cook
GOLD-Admin@...
Nov 2, 2007 10:33 am
3219
Good point. In the rules, the single quoted items are treated as terminal names and are not case-sensitive. In the first example, <c> and <d> are referring to...
Devin Cook
GOLD-Admin@...
Nov 2, 2007 10:40 am
3220
... Just to be sure, you aren't going to do it the GIMP way, are you? :) Btw. could you try porting to VB.mono instead? I don't think the effort will be much...
I've already converted most of the source code to VB.NET - in particular the DFA and LALR table construction is working correctly. Right now I am starting work...
Devin Cook
GOLD-Admin@...
Nov 3, 2007 10:47 am
3222
Devin, As long as you're working on porting to another language..... sharp Develop Mono xacc and a project on codeproject called fire edit all have components...
Hi Devin, I found a YACC grammar at: http://www.adaic.org/standards/95lrm/grammar9x.y However, Gold Parser Builder 3.4.3 fails to import it? Any ideas? Thanks,...
I looked at fire edit myself, it's very similar to the SyntaxBox (From the Puzzle.Net framework) and i actually think it's a derivative thereof. It's not great...
I would say that you should restrict the names of functions to being similar to the way that you restrict identifiers... for example, like just about every...
or put a comma in there, which is what i actually meant to do, but forgot: <expression list> ::= <expression> ',' <expression list> ... [Non-text portions of...
aha! that's the explanation then, thanks! I ran into that myself when I was trying to assist another unsuspecting guy on the google list. I ended up going...
... Both very good points. I would certainly be interested in an open source "editor" control and would be happy to contribute. The only catch for me is it...
Alright, well I'll put my thoughts out on the google list now so as not to spam everyone else on here all the time about it. ... [Non-text portions of this...
I was able to convert the file. Please send me an e-mail to the address on the website and I will send you the file. Cheers. - Devin _____ From:...
Devin Cook
GOLD-Admin@...
Nov 6, 2007 10:00 am
3231
Thanks for that. That was my original plan, but the requirement I've now been given is for any text at all (barring parentheses) to go in the catch-all...
I working on a resource file editor and the user can include windows.h. I have to parse Windows.h and there are a lot of C++ code in Windows.h such as inline...