[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ANN: luaSub 0.41 syntax front-end
- From: Fabien <fleutot+lua@...>
- Date: Wed, 23 Jan 2008 07:56:02 +0100
On Jan 22, 2008 2:27 PM, Fabien <firstname.lastname@example.org
If you want to polish a syntax extension to the point where it's as reliable as a native Lua feature, you'll always have to fight some corner cases which require advanced code analysis. So metalua makes it possible to write robust macros, and the price to pay is, quick and dirty hacking without reading the manual is difficult.
I've tried to illustrate that point here:
(It describes how a seemingly trivial catch...with extension is not so trivial after all, if you want to make it usable). I don't pretend that this extension is bulletproof yet, but it already addresses the pitfalls I've thought of, and most of these would have been a complete nightmare to write and maintain in a low level language.