Author christian.heimes
Recipients barry, benjamin.peterson, christian.heimes, jwilk, pitrou
Date 2013-06-28.14:57:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372431472.65.0.334700769741.issue18317@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the link plural.y! I was looking for a C file, not a YACC file.

The AST approach has advantages over tokenizing. The tokenizer returns just symbols but the AST has also context information. It makes it much easier to distinguish between unary - and binary -. Gettext supports substraction but doesn't allow negative numbers.

Python's gettext is not as strict as GNU gettext. For 3.4 I like to forbid oct and hex numbers, too.
History
Date User Action Args
2013-06-28 14:57:52christian.heimessetrecipients: + christian.heimes, barry, pitrou, benjamin.peterson, jwilk
2013-06-28 14:57:52christian.heimessetmessageid: <1372431472.65.0.334700769741.issue18317@psf.upfronthosting.co.za>
2013-06-28 14:57:52christian.heimeslinkissue18317 messages
2013-06-28 14:57:52christian.heimescreate