Hi, 

is there a way to to generate xexprs for consumption of the web server 

I thought making a simple wiki with scribble as the syntax might be fun, but 
I'm tripping at this first hurdle  i.e. (scribblestring->xexpr a-string) ->xexpr

Any suggestions appreciated

Stephen


#lang racket
(require scribble/decode)
(require scribble/render)
;(require scribble/html-render)
;(require scribble/text-render)
(require scribble/markdown-render)

(define a
  "@title{Bottles --- @italic{Abridged}}
@(apply itemlist
  (for/list ([n (in-range 100 0 -1)])
    @item{@(format \"~a\" n) bottles.}))")
a

(render (list (decode (decode-string a))) (list "/Users/spdegarielle/Desktop/") 
        #:render-mixin render-mixin ) 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to