[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Extending RiciLake pre-processor
- From: Stefano <phd.st.p@...>
- Date: Wed, 10 Oct 2012 19:51:27 +0100
I have been recently using RiciLake pre-processor:
http://lua-users.org/wiki/SlightlyLessSimpleLuaPreprocessor
Has anyone thought of extending (or already extended) it to have
comment-like behavior for # instead of requiring lines to start with
#?
Example:
local x = 1.0 # <text for preprocessor here>
#[===[
<text for preprocessor here>
]===]
The first one may not seem immediately useful but it allows cases like
# preceded by a space (happens when the pre-processed text uses the
preprocessor as well).
Thanks
Stefano