There is no trace of "folders" anywhere in my only surviving "Programming in occam 2" manual (by Geraint Jones and Michael Goldsmith from 1988), so the folding concept must have been definitively a feature of the original Transputer Development System (TDS) of INMOS.

As it was an /integrated/ development environment to produce transputer code anyway, the appearance of sentinel comments in the listings didn’t affect the compiler necessarily. Me too, I do remember vividly having seen them in the output — I was so impressed, I never desisted from using folders in vim since then ;-)

/The great thing about computers is that
there is always a way to do something./

On Thu, Aug 13, 2020 at 10:38 PM, jkn <jkn...@nicorp.f9.co.uk> wrote:

My comments here have probably been overtaken by other postings. But yes, IIRC the folding marks just appeared in the resulting output occam file as sentinel-like marks.

Origami had the advantage that it was only really used for occam, so you could be sure about what marks to use. I can't remember if the sentinels were 'comment-ified', or a sort of language addition.

    J^n

On Thursday, August 13, 2020 at 12:47:36 PM UTC+1 Edward K. Ream wrote:
On Wed, Aug 12, 2020 at 4:43 PM jkn <jkn...@nicorp.f9.co.uk <>> wrote:

I can't remember if I've mentioned Origami, the old Transputer Development System's (DOS-based) editor. It had a wonderful implementation and key binding for code folding.

A little googling took me here <http://wotug.org/parallel/vendors/inmos/archive-server/origami/origami.txt>. Thanks for the implied link.

I'm not sure how Origami creates external files and remembers the folds. Perhaps "..." and "{{{" are the equivalent of sentinel comments. Or maybe the text file is like a .leo file and there is a way to create external files from the origami file. Obviously, clones would add more complexity.

Edward
 --
You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com <mailto:leo-editor+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/c56b761e-5aa8-431d-b5db-067f43606da3n%40googlegroups.com <https://groups.google.com/d/msgid/leo-editor/c56b761e-5aa8-431d-b5db-067f43606da3n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/1597418495.22995.0%40googlemail.com.

Reply via email to