[DGD] Latest errors

Jared Maddox absinthdraco at gmail.com
Tue Apr 17 01:15:50 CEST 2012


> 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)? 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.



More information about the DGD mailing list