[Info-vax] Removing the leading $ from commands in a new DCL language

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Fri May 1 12:36:04 EDT 2015


On 2015-05-01, Craig A. Berry <craigberry at nospam.mac.com> wrote:
> On 5/1/15 4:22 AM, Simon Clubley wrote:
>
>> That's why in my alternate scheme, it's the inline data which has a
>> prefix character instead (which is stripped by new-DCL before the
>> rest of the line is passed to the program.)
>
> That would be a really unfortunate design IMO. It would mean parsing
> data and interpreting what a line is *within* data rather than simply
> searching for an end-of-data indicator. Sure, it should be possible, but
> why unnecessarily complicate something as simple as DECK/DOLLARS (or the
> heredoc of Unix shells and Perl)?
>

Maybe; I am way open to alternative ideas.

My thoughts were to come up with a way to drop the leading $ from
commands while retaining the ability to have inline data being fed
to a program.

I did think the same as you, but I was also wanting to devise some
mechanism which didn't require the script writer to specify some end
of data sequence which the script writer needs to know isn't going
to be seen within the data.

Simon.

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world



More information about the Info-vax mailing list