... The reference grammar for CSS 2.1 seems easier to parse than CSS 2 or CSS 1. I successfully ported it by hand (not extensively tested but it parses my...
Greetings! I'm writting code completion for my own script editor (Pascal Script), based on Delphi components and I have some questions for programming gurus. ...
I've been toying around with creating a template for the Morozov engine, because seeing as how it's so fast it's a pity that there isn't one out there. So,...
I'm in the process of creating an AST skeleton generator for C#. I'm going to have it generate a Visitor skeleton and a number of Binary and Unary expression...
Cleaned it up just a bit, if you still want this template, or the one yesterday complained because it was missing the definition of SymbolException or...
My idea of it is as follows. I want to build an object tree which represents the parsed data. The tree contains nodes, which may contain other nodes. ...
well you have basically just described a classic AST :) Though I would suggest to make it a template like thingy, youd want to take a few more things for...
http://www.codeproject.com/useritems/runsharp.asp This little number speaks for itself. Check it out if you think CodeDom is too difficult, or reflection.emit...
I am using the C# Engine written by Morozov along with the C# grammar that is on the GOLD site and available for download. The provided grammar does not...
I need a way that I can collect comments either via the grammar or by the parser message. I can easily gather terminal and nonterminal object. When using the...
... Just to let you know that I am currently working on automated discovery of some aspects of the semantic structure that a language encodes. I believe it is...
Nice! I've recently discovered TreeCC, which is actually something meant for this kind of thing, but it's a lot more manual than I'd like, but after you get it...
And as for your tagged union structure (a class whose function and type are only differentiated by it's type enum or integer, otherwise known as a Variant in...
http://www.dofactory.com/Patterns/Patterns.aspx (Sorry for the bad link before, forgot a bit of it) ... [Non-text portions of this message have been removed]...
I think you're referring tot he morozov engine, in which case, from my experience (which is not all that extensive with morozov) you can use TokenSyntaxNode...
the only thing I have a hard time with in the builder is the fact that I can't move the windows out of the main window. I've got two monitors and it would be...
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 _____ ...