unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Announce: eguile -- embedded guile preprocessor thing
@ 2002-07-23 22:59 Neale Pickett
  2002-07-24 23:09 ` MJ Ray
  0 siblings, 1 reply; 6+ messages in thread
From: Neale Pickett @ 2002-07-23 22:59 UTC (permalink / raw)


eguile is like escm, but it's written in pure guile.  I use it to make
web pages, but it could just as well be a general-purpose guile
preproccesor thing.  That part of what it does is pretty trivial,
though.

For an example of its output, and more information, surf on over to

  http://woozle.org/~neale/src/eguile/index.html

Input looks like this:

  <html>
    <head>
      <title>eguile</title>
      <link rel="stylesheet" type="text/css"
            href="<?= (current-path-to-root) ?>default.css">
    </head>
    <body>
      <? (head) ?>
      <h1>
        eguile<br>
        <small>embedded guile HTML preprocessor</small>
      </h1>

      <p>2 + 2 = <?= (+ 2 2) ?></p>

etc.

I don't know if this will be useful to anyone other than me, but if
ht2html has a userbase, maybe there's an audience for this too :)

-- 
Neale Pickett <neale@woozle.org>

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announce: eguile -- embedded guile preprocessor thing
  2002-07-23 22:59 Announce: eguile -- embedded guile preprocessor thing Neale Pickett
@ 2002-07-24 23:09 ` MJ Ray
  2002-07-29 16:04   ` Neale Pickett
  0 siblings, 1 reply; 6+ messages in thread
From: MJ Ray @ 2002-07-24 23:09 UTC (permalink / raw)


Neale Pickett <neale@woozle.org> wrote:
>             href="<?= (current-path-to-root) ?>default.css">

Please don't abuse XML processing instructions like this.  Make eguile play
nice with other processors by using a proper PI Target name, as detailed in
http://www.w3.org/TR/2000/REC-xml-20001006#sec-pi

Thanks,

MJR


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announce: eguile -- embedded guile preprocessor thing
  2002-07-24 23:09 ` MJ Ray
@ 2002-07-29 16:04   ` Neale Pickett
  2002-09-04  8:07     ` Demo page for guile-fcgi Sergey Dolin
  0 siblings, 1 reply; 6+ messages in thread
From: Neale Pickett @ 2002-07-29 16:04 UTC (permalink / raw)


So then, MJ Ray <markj@cloaked.freeserve.co.uk> is all like:

> Neale Pickett <neale@woozle.org> wrote:
> >             href="<?= (current-path-to-root) ?>default.css">
> 
> Please don't abuse XML processing instructions like this.  Make eguile play
> nice with other processors by using a proper PI Target name, as detailed in
> http://www.w3.org/TR/2000/REC-xml-20001006#sec-pi

Good advice.  The current version of eguile (soon to be 1.1) will now
look for

  <?eguile (some-scheme-code) ?>

It also features a properly tail-recursive parser, so it won't gobble up
the stack.  In addition, the opening and closing tags are now
easily-redefined, so you can use whatever syntax you want to introduce
Scheme expressions to your code.

eguile can be obtained from
<http://www.woozle.org/~neale/src/eguile/index.html>.  As always
suggestions for improvement are appreciated!

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Demo page for guile-fcgi
  2002-07-29 16:04   ` Neale Pickett
@ 2002-09-04  8:07     ` Sergey Dolin
  2002-09-04  8:27       ` rm
  2002-09-04  8:38       ` Sergey Dolin
  0 siblings, 2 replies; 6+ messages in thread
From: Sergey Dolin @ 2002-09-04  8:07 UTC (permalink / raw)



http://isc.uu.ru/guile/demo.html

please cc your comments to me, or yor message will left unread for
weekend.

-- 
Sergey          4 September, Wednesday 14:05(YEKST +0600)
Gnus v5.9(GNU/Emacs 21.2)*Debian GNU/Linux woody*Fvwm-2.4


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Demo page for guile-fcgi
  2002-09-04  8:07     ` Demo page for guile-fcgi Sergey Dolin
@ 2002-09-04  8:27       ` rm
  2002-09-04  8:38       ` Sergey Dolin
  1 sibling, 0 replies; 6+ messages in thread
From: rm @ 2002-09-04  8:27 UTC (permalink / raw)
  Cc: guile-user

On Wed, Sep 04, 2002 at 02:07:41PM +0600, Sergey Dolin wrote:
> 
> http://isc.uu.ru/guile/demo.html

HTTP request sent, awaiting response... HTTP/1.1 404 Not Found
Date: Wed, 04 Sep 2002 08:11:35 GMT
Server: Apache/1.3.24 (Unix) Debian GNU/Linux PHP/4.1.2 mod_fastcgi/2.2.10
Connection: close
Content-Type: text/html; charset=iso-8859-1


Closing fd 3
10:09:46 ERROR 404: Not Found.

> please cc your comments to me, or yor message will left unread for
> weekend.

Looks like your guile stuff is out for the weekend :-)

  Ralf

> -- 
> Sergey          4 September, Wednesday 14:05(YEKST +0600)
> Gnus v5.9(GNU/Emacs 21.2)*Debian GNU/Linux woody*Fvwm-2.4
> 
> 
> _______________________________________________
> Guile-user mailing list
> Guile-user@gnu.org
> http://mail.gnu.org/mailman/listinfo/guile-user


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Demo page for guile-fcgi
  2002-09-04  8:07     ` Demo page for guile-fcgi Sergey Dolin
  2002-09-04  8:27       ` rm
@ 2002-09-04  8:38       ` Sergey Dolin
  1 sibling, 0 replies; 6+ messages in thread
From: Sergey Dolin @ 2002-09-04  8:38 UTC (permalink / raw)



Sorry!

SD> http://isc.uu.ru/guile/demo.html

correct address is http://isc.uu.ru/~dsa/guile/demo.html

-- 
Sergey           4 September, Wednesday 14:37(YEKST +0600)
Gnus v5.9(GNU/Emacs 21.2)*Debian GNU/Linux woody*Fvwm-2.4


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-04  8:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-23 22:59 Announce: eguile -- embedded guile preprocessor thing Neale Pickett
2002-07-24 23:09 ` MJ Ray
2002-07-29 16:04   ` Neale Pickett
2002-09-04  8:07     ` Demo page for guile-fcgi Sergey Dolin
2002-09-04  8:27       ` rm
2002-09-04  8:38       ` Sergey Dolin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).