Re: Inline macros

Paul Prescod (papresco@calum.csclub.uwaterloo.ca)
Thu, 25 Apr 1996 16:48:54 -0400


Date: Thu, 25 Apr 1996 16:48:54 -0400
Message-Id: <199604252048.QAA11022@calum.csclub.uwaterloo.ca>
To: David Ornstein <davido@objarts.com>
From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Subject: Re: Inline macros
Cc: erik <erik@inch.com>, Paul Prescod <papresco@calum.csclub.uwaterloo.ca>,

At 01:40 PM 4/25/96 -0700, David Ornstein wrote:
>Is there some literal introduction character we could use (back tick or
>something) that would allow the lexer to simply gobble this stuff up into
>one big binary chunk?  This would allow something like:
>
><mimesection type=txt/x-funk>
>`%my(funcky, macro);
>more stuff in the funk language`
></mimesection>

You are both trying to reinvent SGML marked CDATA sections. There is no need
to reinvent it. It does exactly what you are suggesting. Most SGMLers
consider it a Bad Idea to mix SGML and non-SGML data in the same file, but
if you want to do it, SGML already allows it.

 Paul Prescod