[DGD] Latest errors

Shentino shentino at gmail.com
Tue Apr 17 18:57:25 CEST 2012


On Mon, Apr 16, 2012 at 4:15 PM, Jared Maddox <absinthdraco at gmail.com> wrote:
>> Date: Sun, 15 Apr 2012 21:01:11 -0700
>> From: Shentino <shentino at gmail.com>
>> To: All about DGD and Hydra <dgd at dworkin.nl>
>> Subject: Re: [DGD] Latest errors
>> Message-ID:
>>       <CAGDaZ_oZS2wA76+JT3+=bDvyY0tUo_BgeEJ+spcpmTtOK6FW2Q at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Would allowing CR to join LF as whitespace in the grammar definition
>> of parse_string be better?
>>
>
> It would certainly reflect the TRANSLATED intent of CR. However, is it
> possible to emit warnings for individual definitions (I'm not certain
> if the definition is in Yacc/Lex, or the DGD equivalent, and I'm not
> certain whether you want to add this to the lexing stage or the
> parsing stage)?

It would be the stage where parse_string reads the *grammar* and
carves it up into tokenizing and structure building rules.

> Since Mac/*nix/MSWin all use a different new-line
> encoding, it could be useful to be warned when a particular file uses
> (either partially or entirely) an encoding from a different platform.
> ___________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list