Re: Idea: Literate programing

2009-05-25 Thread Timothy S. Nelson
On Tue, 26 May 2009, Daniel Carrera wrote: Carl Mäsak wrote: In this way, a relatively simple change makes Perl 6 Pod able to do literate programing for anyone who is interested. What do you think? That it sounds like a good idea for a sublanguage-extending module. I'm not familiar with t

Re: Idea: Literate programing

2009-05-25 Thread John M. Dlugosz
I think the equivalent of tangle/weave would take docs designed for literate reading and produce the runable file. Perl doesn't have to execute it directly. But that can be automated using a source filter. Daniel Carrera daniel.carrera-at-theingots.org |Perl 6| wrote: Hello, I really like P

Re: Idea: Literate programing

2009-05-25 Thread Jon Lang
On Mon, May 25, 2009 at 2:13 PM, Daniel Carrera wrote: > In this way, a relatively simple change makes Perl 6 Pod able to do literate > programing for anyone who is interested. > > What do you think? The main literate programming feature that's missing from POD is the ability to scramble the orde

Re: Idea: Literate programing

2009-05-25 Thread Daniel Carrera
Carl Mäsak wrote: In this way, a relatively simple change makes Perl 6 Pod able to do literate programing for anyone who is interested. What do you think? That it sounds like a good idea for a sublanguage-extending module. I'm not familiar with those. Are they hard to make? I guess that it i

Re: Idea: Literate programing

2009-05-25 Thread Carl Mäsak
Daniel (>): > [...] > > In this way, a relatively simple change makes Perl 6 Pod able to do literate > programing for anyone who is interested. > > What do you think? That it sounds like a good idea for a sublanguage-extending module. // Carl

Idea: Literate programing

2009-05-25 Thread Daniel Carrera
Hello, I really like POD and I like the changes in the upcoming Perl 6 Pod. Have you ever heard of literate programing? (see Wikipedia). I think it would be neat if Pod could do literate programing. It is already very close. For reference, please see this article: For reference, please see