lua-users home
lua-l archive

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


On Fri, Aug 01, 2014 at 01:20:18PM -0700, Hao Wu wrote:
> Hi,
> 
> I know there are a zillion ways to do this, but it sounds to me that
> they will either need an additional compilation step or a customized
> interpreter, or extra keystrokes :(
> 
> What I am asking for is a simple '@' symbol for annotation that would
> be safely discarded; (-- would work, but I would just hope for an even
> simpler symbol)
> 
> Would this ever be taken?

What use is an annotation syntax if it's not accompanied by language
interfaces to do introspection?

If you don't care about native introspection, then what's wrong with using
stylized comments?

If you do care about native introspection, then where's the reference API?
It's not worth discussing without seeing how complex it could become.