Re: parser hacking: stringification
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: parser hacking: stringification
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2012年11月19日 21:34:42 -0200
> To make those tables a bit less verbose and typo prone, I added an
> extension to the syntax sugar for fields, one which makes
>
> { ..star, ..planet, ..year}
>
> shorthand for
>
> {star=star, planet=planet, year=year}
If you can use another syntax, like say !star, then this can be easily done
with a token filter, without the need to dive into the parser or produce a
patch.