skribilo-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [skribilo-users] Why use a dedicated reader ?


From: Amirouche Boubekki
Subject: Re: [skribilo-users] Why use a dedicated reader ?
Date: Sun, 11 Aug 2013 16:41:33 +0200

Hi,

2013/8/11 Ludovic Courtès <address@hidden>
Hi,

Sorry for the late reply.

No problemo.
 
As you've probably seen by now, the default syntax for Skribilo documents is an extension of the R5RS Scheme syntax.  See

  http://www.nongnu.org/skribilo/doc/user-3.html#skribe-syntax

The main extension is square brackets, which make it easy to enter literal strings (Scribble, for instance, uses a different extension for that purpose).

I didn't see that the main extension was brackets.
 
Guile-Reader is a tool that makes it easy to build readers for such derived Lisp syntaxes.

ok.

Right now, I don't see the Skribe syntax as more friendly than what I can be achieved with the default guile reader, especially the escape sequence ,( I understand why it is useful, but I think it introduce some complexity.

The difference with my program that does «s-expr to html» seem to be that inline elements inside a paragraph feet naturally and there is not need for «extra» space, for instance:

(p [what do you think about ,(bold "bold") text])

Has to be written in my program as:

(paragraph "what do you think about " (bold "bold") " text")

Hmmm, rethinking about this makes me think that Skribe syntax is best. I have to update my program to use it :)


Thanks,



Amirouche

reply via email to

[Prev in Thread] Current Thread [Next in Thread]