I managed to put this together:
https://github.com/AlexKnauth/scribble-code-examples
On May 12, 2015, at 7:10 AM, Alexis King wrote:
> Continuing my attempts to make a working meta-language, I'm now working on
> improving the documentation. I'd like to be able to use “interaction” from
> scrib
Is there a way to show examples in scribble docs that uses code?
If there’s not, would something like this be good:
@code-examples[#:lang “at-exp racket”]|{
(+ 1 2)
@+[1 2]
}|
Renders as:
Examples:
> (+ 1 2)
3
> @+[1 2]
3
?
On May 12, 2015, at 7:10 AM, Alexis King wrote:
> Continuing my
Continuing my attempts to make a working meta-language, I'm now working on
improving the documentation. I'd like to be able to use “interaction” from
scribble/eval with a custom evaluator, but I'm having trouble getting a custom
evaluator to work with my language.
I've tried using (make-module-
3 matches
Mail list logo