eate
>>> > the lp language version 2 as an afterthought. Awesome.
>>> >
>>> > On Tue, Dec 16, 2014 at 3:04 PM, Matthew Flatt wrote:
>>> >> ... after the next build, at least.
>>> >>
>>> >> Problems related to the repo
the current snapshot:
> >>>
> >>> http://www.cs.utah.edu/plt/snapshots/
> >>>
> >>>
> >>>
> >>>
> >>> On Dec 16, 2014, at 1:28 PM, Joel McCracken
> wrote:
> >>>
> >>> > Forwa
t;
>>> You probably want the current snapshot:
>>>
>>> http://www.cs.utah.edu/plt/snapshots/
>>>
>>>
>>>
>>>
>>> On Dec 16, 2014, at 1:28 PM, Joel McCracken
>>> wrote:
>>>
>>> > Forwardi
;>
>> > Forwarding to users, since I forgot to reply-all.
>> >
>> >
>> > ------ Forwarded message ------
>> > From: Joel McCracken
>> > Date: Tue, Dec 16, 2014 at 1:27 PM
>> > Subject: Re: [racket] using scribble/eval in conjuncti
> > From: Joel McCracken
> > Date: Tue, Dec 16, 2014 at 1:27 PM
> > Subject: Re: [racket] using scribble/eval in conjunction with scribble/lp
> > To: Matthew Flatt
> >
> >
> > Hmm, I'm having trouble finding this new release of Racket that wil
c 16, 2014 at 1:27 PM
> Subject: Re: [racket] using scribble/eval in conjunction with scribble/lp
> To: Matthew Flatt
>
>
> Hmm, I'm having trouble finding this new release of Racket that will
> allow a #lang scribble/lp2 -- I'll keep looking later. This is aweso
At Mon, 15 Dec 2014 15:49:38 -0700, Matthew Flatt wrote:
> Meanwhile, I'll work on changing `scribble/lp` so that a module
> implemented with `#lang scribble/lp` can be passed directly to
> Scribble.
That turned out to be `scribble/lp2`, since the changes would be
incompatible with existing uses o
The `examples` form uses a fresh namespace for its evaluation. As part
of "lp.rkt", you could set up an evaluator that is initialized to use
the enclosing module's namespace.
;; lp.rkt:
#lang scribble/lp
@(require scribble/eval)
This would be a wonderful
No, that doesn't work for me either. Anyway, I was hoping I could export f
and then run the examples in a second file (because we have to lp-include
the literate program anyway):
;; lp.scrbl
#lang scribble/manual
@require[scribble/lp-include]
@require[scribble/eval]
@lp-include["example.rkt"]
@ex
I have tried a few different things. In you case, I think adding a:
@chunk[ (provide f)]
... will make lp-test work.
I'm still can't get lp.rkt to become self-referential, though.
On Sun, Dec 14, 2014 at 4:46 PM, Benjamin Greenman wrote:
> I tried and failed to figure this out. In parti
I tried and failed to figure this out. In particular, when I create the
example "lp.rkt" file described at the top of the scribble/lp docs and
require it "in the normal manner", the identifier f is unbound for me.
The code I'm using is pasted below:
;; lp.rkt
#lang scribble/lp
Literate programs
11 matches
Mail list logo