Re: Implementing a Scribble-like preprocessor for Clojure

2013-09-07 Thread JeremyS
Hi bogdan, Sweet! On Saturday, September 7, 2013 5:38:03 PM UTC+2, Bogdan Opanchuk wrote: > > For what it's worth, I've finished a draft implementation using reader API > utilities from Clarity . The > result can be seen on github

Re: Implementing a Scribble-like preprocessor for Clojure

2013-09-07 Thread Bogdan Opanchuk
For what it's worth, I've finished a draft implementation using reader API utilities from Clarity . The result can be seen on github , the example of syntax in tests

Re: Implementing a Scribble-like preprocessor for Clojure

2013-08-24 Thread Bogdan Opanchuk
Hi Jeremy, Thank you for your suggestion, it's worth a try. It seems though that it might not be suitable for my more distant plans for this project, because: 1) The full Scribble syntax is not context-free: multiline text mode has to remember the starting indentation (although I'm not sure if

Re: Implementing a Scribble-like preprocessor for Clojure

2013-08-24 Thread JeremyS
Hi Bogdan, That's a cool Idea ! I'm wondering if you wouldn't be better off with something like Instaparse . Cheers, Jeremys. On Friday, August 23, 2013 3:37:53 PM UTC+2, Bogdan Opanchuk wrote: > > Hi all, > > For those who are not familiar with Scribbl

Implementing a Scribble-like preprocessor for Clojure

2013-08-23 Thread Bogdan Opanchuk
Hi all, For those who are not familiar with Scribble, it is basically a preprocessor for Racket (a dialect of Lisp) which makes its syntax more concise when working with lots of text, effectively turning it into a template engine (see http://docs.racket-lang.org/scribble/reader.html for detail