lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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