[DGD] parse_string

pete at ana.sk pete at ana.sk
Wed Jul 25 19:54:45 CEST 2001


Hi ppl.

   This is my first post here, but i have some comments to 
parse_string (i did read archive, this is not so rare subject i must 
say:)

First, it looks like there are some problems with parse_string when 
same grammar is used many times, and grammar tokens use '\0' 
character in them. This is not so important because i dont think it 
can match '\0', but i accidentaly used it in one grammar, and after 
few tryes it starts parsing badly. It does work ok few time though! 
So there may be some other problem that is just triggered by '\0'...

But more serious thing, it would be good to have some predefined 
special token that matches only at string end. I really dont like to 
add '\1' or something like that to string end and use it in grammar. 
As far as i remeber what i have learned about grammars in school 
(its some years ago so i forgot most:) its normal for grammar have 
such token.

But otherwise, as far as i can say after few eeks of using dgd, i like 
it, good work all you made it! Btw, i have version 1.1.26, forgot to 
mention before :)

													Pete

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list