Hello! I run the GOLD Builder on a virtual Windows XP machine under qemu running on a linux host. I work on a .grm file located in the host's filesystem and ...
Defining the comment as white space does not work for me, because i need to parse the comment too. If you define comment as whitespace, the oncommentread event...
... Then in the technical terms of GOLD you are not talking of comments, but about a construct of your language. Devin, this comes up far too often. I see a...
If you want to write a pretty print, then you need access to the comments. Its hard to modify a grammar to treat comments as elements, since they can appear in...
Hi, To create a grammar that uses '//' to comment a line i do Comment Line = '//' And if I want 2 different symbols, the symbol '#' and symbol '//', to comment...
I'll take a look. I'm using a custom stream class ... and probably could add some optimizations. I, possibly, could have passed the text by value to a ...
Devin Cook
GOLD-Admin@...
May 2, 2007 1:55 pm
2958
We could work on a new version of the Engine definition, but it would require that each Engine be modified to work. Currently, no information is saved into the...
Devin Cook
GOLD-Admin@...
May 2, 2007 2:02 pm
2959
The systems that use that nice coloring of keywords, comments, etc, usually have a separate "color parser" that looks at the text and figures out what to...
Devin Cook
GOLD-Admin@...
May 2, 2007 2:09 pm
2960
Yes, use the following definition: Comment Line = '//' | '#' Basically, GOLD will identify the text "//" and "#" as both being the line comment terminal....
Devin Cook
GOLD-Admin@...
May 2, 2007 2:09 pm
2961
Dear all, What is the difference between Parser.TokenText and Parser.TokenString? Thanks a lot -- Ahmed Mostafa 0123919750 Fourth Year, Computer Engineering...
... Update: same problem occurs when writing the .cgt. The slowness seems to be bound to the actual writing into the file, as I can watch the file size grow ...
I was able to use non-ascii chars in strings in my grammar but not in Identifiers. Is it possible to define Identifiers rule with non-ascii chars ? TIA Gökhan...
Hi I am trying to define the grammar for a range I'm using which is made up of 2 numbers separated by a comma and enclosed within brackets. The brackets can be...
Oh thanks, I assume its the | symbol I cannot use... I've rewritten it to: <Range> ::= <RangeStart>NumberLiteral',' NumberLiteral<RangeEnd> <RangeStart> ::=...
I have version 3.4.1 and the error report for a shift-reduce conflict says "can follow a completed rule and also be shifted", without mentioning which rule can...
I need help....I'm trying to understand how this Gold Parser works. Is there a nice tutorial? I have to create the DFA and the LALR(1) to do the lexical and...
... [...] ... GOLD is a tool---and doumented enough to find the start by oneself, like all here have found out. If you need a tutorial and cannot find one,...
There is a really basic tutorial I wrote on the website under "Getting Started". Its not the best - far from it - but it should provide a good starting point. ...
Devin Cook
GOLD-Admin@...
May 18, 2007 7:14 am
2976
Hello everyone, I while ago, I received an excellent e-mail about the D++ Programming Language. Anyway, I am in the process of catching up on e-mail, and it ...
Hi, I want to present a tool that help the design and construction of AST. C3 analyze a grammar and: 1- Generates a set of classes (AST-Design) representative...
Hi Devin, The home page is now call PageMagic see: http://www.pagemac.com/index.php and you can access D++ at: http://www.pagemac.com/dpp/ Hope this help! God...
My god, it's full of stars! This looks like it's going to be great in theory :) I have been thinking for a while about this concept, (and I'm sure the folks...
Manfred's detailed instructions are a great example of why I strongly discourage the mixing of recreational Hallucinogenics and mailing list posting. :D ... ...
Hi, Im using the ActiveX Dll in Excel 2003 and I can't quite understand how to use it. I wish to use the parser to produce tokens which I can then look at to ...
Hello everyone, I just updated the website with a major new addition. Matthias Piepkorn created a new version of the Engine for the D Programming Language. ...
... Sorrily there seems to be a design or implementation fault in this version of that engine. My experimental engine runs twice as fast as that engine. Of...