[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Apr 29 20:13:26 1997 
Subject:Warning on wiggling 
From:Robin Popplestone 
Volume-ID:970429.06 

Peruse the message below the dotted line if you are interested in writing a
system for a new language in POPLOG. Eventually I did track the problem
down - I needed to redefine the library function vedfindbracket. I'd
already done this for Scheme, but forgotten about it.

This is NOT one of the better features of POPLOG.


        -----------------------------------------------------
                         WHAT I WAS GOING TO WRITE

I'm being driven slowly mad by  trying to get ved_wiggle to work  correctly
in a  variant of  Scheme I  call "Literate  Scheme". In  my Scheme  system,
ved_wiggle works fine.  IN particular,  it recognises that  a single  quote
does not require a partner in a file with an extension ".scm". So if I type
(display 'fred) in a file called "test.scm" then the partner of the closing
parenthesis is correctly wiggled.

However, if I do  the same in  a Literate Scheme  file, with the  extension
".lscm", then ved_wiggle looks for the partner to the single quote, DESPITE
the fact that I've  set up VED to  treat ".lscm" files in  the same way  as
I've set up the ".scm" files. Things that depend on vedchartype work in the
".lscm" files - for example a+1 is treated  as one item and not 3. So,  how
did I get it right for the ".scm" files, and not for the ".lscm" files? Any
suggestions would be welcome.

Robin.