Re: Inline macros

Foteos Macrides (MACRIDES@sci.wfbr.edu)
Thu, 25 Apr 1996 16:39:46 -0500 (EST)


Date: Thu, 25 Apr 1996 16:39:46 -0500 (EST)
From: Foteos Macrides <MACRIDES@sci.wfbr.edu>
Subject: Re: Inline macros
To: erik@inch.com
Cc: www-html@w3.org
Message-Id: <01I3YRHS5BJM0085G9@SCI.WFBR.EDU>

From: erik <erik@inch.com>
>> Scripting features in HTML _is_ a topic for this list, and we
>> can learn how _not_ to do it by examining JavaScript
>
>What is needed in HTML is a way to allow arbitrary NON-SGML 
>sections in a document.....(embedded perl...embedded 
>java...etc.).  This way we can stop the threat of w3's 
>obsolescence.

	You are thinking only in terms of Netscape's "first pass"
implementation of SCRIPT.  Look at it's generalization in the
08-Feb-96 W3C working draft for SCRIPT, and mentally update it's
references to INSERT with the 12-Apr-96 OBJECT draft.  Here's
what one of it's examples becomes, which appears to be exactly
what you are seeking:

    <object
       id="perl"
       classid="progid:Perl.Interpreter"
       codebase="http://www.acme.com/perl/bin/perl.cab"
    >
    </object>
    <script SCRIPTENGINE="#perl">
             # perl script here
             #
    </script>

				Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 MACRIDES@SCI.WFBR.EDU         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================