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

embedded markup syntax



On Tue, Jun 17, 2003 at 01:27:25PM -0400, Bruce Lewis wrote:
> However, this particular syntax would still be named brl-when.

What about using a syntax like
]:(when (> foo 1)) this text conditionally emitted[
Or even
]:when (> foo 1)|this text conditionally emitted[
To limit the number of nested constructs?

In Scribble (extended Scribe syntax for CL), I implemented the first form.
It saves nesting of syntax, and for unary operators,
it even saves parentheses:
	[In this sentence ,[:emph these words] are emphasized]

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
[  TUNES project for a Free Reflective Computing System  | http://tunes.org  ]
Your conscience never stops you from doing anything.  It just stops you
from enjoying it.