Search the web
Sign In
New User? Sign Up
xml-litprog-l · Literate Programming using XML
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Leo, Elucidator etc.   Message List  
Reply | Forward Message #214 of 238 |
RE: [xml-litprog-l] Leo, Elucidator etc.

Hi
 
I have been lurking in this group for a while. I have used a kind of "lit prog" technique described in this paper.
 
 
for a long time. Two things that I like with this approach is that you work in the code. You can hide (fold) large chunks of code/documentation so you get a better overview of the code and that you can click on a function call (with links to the definition in the same file or another file) and it unfolds in place so you get an better overview of what the function does in that context.
 
 
/Mikael

_________________________________________________
Mikael Lexén
Volvo Information Technology AB
Dept 9644, HD2N
SE-405 08 Gothenburg, Sweden
Telephone: +46 31 3221155
E-mail: Mikael.lexen@...

 
 
 -----Original Message-----
From: Charlie McDowell [mailto:charlie@...]
Sent: Tuesday, November 26, 2002 22:08
To: xml-litprog-l@yahoogroups.com
Subject: [xml-litprog-l] Leo, Elucidator etc.

I am familiar with both Leo and Elucidative Programming (although not the Elucidator project).
They each drift a little bit further from my interpretation of Knuth's LP concept than I wanted to go.
With Leo, the outline is nice (and in fact the tool I'm developing will include a Leo like outline view),
but it just isn't  full on LP. I didn't sense that it had a user base that made it the right choice as a
starting point. The outline view is actually a rather easy view to generate. The folded view as I'm conceiving
it is quite different (and was/is the most intellectually challenging/interesting part of what I'm doing).
Likewise, Elucidative programming separates the code view and the documentation view, but links them together so
you can easily move back and forth. To me this is again a big move away from Knuth's concept where the code
and documentation are intertwined.

I'm very much concerned about creating just "yet another" LP tool. I'm trying to make sure I learn from what others
have done, but I didn't see either of these as having important ingredients that I wanted to build on (but I could easily
be wrong).

The folding idea I am implementing it not new, even in the LP literature (although I wasn't aware of this comment
when I conceived off the idea). It was proposed in 1986. Thimbleby observed
(
Thimbleby, H., Experiences of literate programming using cweb (a variant of Knuth's WEB). Computer Journal, 1986. 29(3): p. 201-11)
that one "of the disadvantages of literate programming ... is that the programmer cannot view the code of macro bodies in situ at the point of invocation." He goes on to propose "an interactive version" in which the programmer "would press a button and an invocation would unfold into a (name, body) window in position."

I completely agree that it would be great to agree on a DTD. I'd be quite happy to adopt anything reasonable.
That is a simple minor change to the input parsing and save operations.


Charlie McDowell, Professor                     (831) 459-4772 (w)
Computer Science Department                     (831) 427-2076 (h)
University of California                        (831) 459-4829 (fax)
School of Engineering               http://www.cse.ucsc.edu/~charlie
1156 High Street
Santa Cruz, CA 95064-1077


====
Unsubscribe: xml-litprog-l-unsubscribe@yahoogroups.com
Post message: xml-litprog-l@yahoogroups.com
http://groups.yahoo.com/group/xml-litprog-l/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Wed Nov 27, 2002 8:37 am

tuvok4se
Offline Offline
Send Email Send Email

Forward
Message #214 of 238 |
Expand Messages Author Sort by Date

I am familiar with both Leo and Elucidative Programming (although not the Elucidator project). They each drift a little bit further from my interpretation of...
Charlie McDowell
professorCha...
Offline Send Email
Nov 26, 2002
9:04 pm

Hi I have been lurking in this group for a while. I have used a kind of "lit prog" technique described in this paper. ...
Lexén Mikael
tuvok4se
Offline Send Email
Nov 27, 2002
8:38 am

... From: Charlie McDowell [mailto:charlie@...] Sent: 26 November 2002 21:08 To: xml-litprog-l@yahoogroups.com Subject: [xml-litprog-l] Leo, Elucidator...
Jobling C.P.
cpjobling
Offline Send Email
Nov 27, 2002
12:00 pm

From the paper that sounds like a very nice system. How can I get a copy of the tool? Was the paper ever published? If so where? ... Charlie McDowell,...
Charlie McDowell
professorCha...
Offline Send Email
Nov 27, 2002
9:15 pm

I would like to check my understanding of your system. It appears that your pseudo code sections (pc) are like Knuth's macro names but you have no invoke. The...
Charlie McDowell
professorCha...
Offline Send Email
Nov 27, 2002
10:05 pm

I looked into the tool discussed in the paper cited [ftp://www.excosoft.se/pub/seminars/litprog.pdf] when I first came across it [I thought it was first...
Jobling C.P.
cpjobling
Offline Send Email
Nov 28, 2002
1:54 pm

** Reply to message from "Jobling C.P." <c.p.jobling@...> on Thu, 28 Nov 2002 13:53:59 -0000 ... I don't think it is that close. I wasn't previously...
Anthony B. Coates
ozabcoates
Offline Send Email
Dec 1, 2002
10:42 pm

I think this should be easy to add to what I'm developing. It could also solve a problem for me. I wasn't sure how I was going to handle pretty printing of the...
Charlie McDowell
professorCha...
Offline Send Email
Dec 1, 2002
10:50 pm

** Reply to message from Charlie McDowell <charlie@...> on Sun, 01 Dec 2002 14:54:05 -0800 ... As you have probably already realised, one thing to...
Anthony B. Coates
ozabcoates
Offline Send Email
Dec 1, 2002
10:59 pm

My very rough prototype in fact does allow that - and indeed it was one of the trickiest (and most interesting) aspects of the development. An important...
Charlie McDowell
professorCha...
Offline Send Email
Dec 1, 2002
11:11 pm

** Reply to message from Charlie McDowell <charlie@...> on Sun, 01 Dec 2002 15:15:34 -0800 ... At a minimum, I think you would need a feature that...
Anthony B. Coates
ozabcoates
Offline Send Email
Dec 1, 2002
11:25 pm

Is anyone here familiar with http://www.logilab.org/xmldiff/ Overview XMLdiff is a python tool that figures out the differences between two similar XML files,...
Bill Page
bill.page1@...
Send Email
Dec 4, 2002
12:11 pm

Hi Sorry for not answering You but I have been out of town. I have talked to the developers at Excosoft and they have prepared a demo. Her is the answer from...
Lexén Mikael
tuvok4se
Offline Send Email
Dec 5, 2002
7:26 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help