[Top][All Lists]

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

Re: @Verbatim

From: Valeriy E. Ushakov
Subject: Re: @Verbatim
Date: Wed, 27 Jan 1999 11:48:45 +0300

On Wed, Jan 27, 1999 at 08:22:53AM +1000, Jeff Kingston wrote:

> In the forthcoming release, @Verbatim will be implemented as a primitive
> feature and thus will be available to all users.

Just curious what form it will take?

Conceptually, what's necessary is an alternative literal string syntax
that has customizabe delimiters, no escapes and can span across line

E.g. suppose we use a syntax similar to lisp readers:

#[foo "b\"ar" } } note the curlies
and here we go on to the next line

that would be equivalent to 

"foo \"b\\\"ar\" } } note the curlies"
"and here we go on to the next line"

Note that the former is equivalent to several string literals, so that
one can apply *lines @Break style if necessary, but not mandatory.

The syntax for this multi-literals should allow customizabe
delimiters, like LaTeX \verbatim does; e.g.

    #{ ... } #[ ... ] #( ... ) #< ... >
    #| ... | #+ ... +

that is, the brackets (round, square, curly, angle) need a paired
bracket, other characters needs the same character.

Just my $0.02

SY, Uwe
address@hidden                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]