lua-users home
lua-l archive

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


On Thu, Oct 11, 2012 at 2:55 AM, Rena <hyperhacker@gmail.com> wrote:
> I usually use @ as a marker for any preprocessing I do, since few languages
> use it for anything, which also helps it stand out.

Yes, the version of the RiciLakePreprocessor I have in Penlight allows
the line marker (default #) and expression escape (default $) to be
changed.  This I did because '#' conflicts with the C preprocessor and
makefile comments - '@' is a good choice.

$ is mostly fine, except again it conflicts with makefile macros and
JavaScript that uses JQuery.

For HTML I use # for lines and @ for escapes for this reason, here's an example:

https://gist.github.com/3870487

(The HTML generation in LDoc uses this template style)

steve d.