Hello,

When looking through http://www.gnu.org/software/guile/ideas.html, I came
across this nifty little idea for a PHP-like hypertext preprocessor that
works with Guile (at least that's how I understood it), and I decided that
I'd implement it, since PHP is starting to get on my nerves (the XML handler
just kills me).

I was also thinking of extending it to a level in which programs and
languages can be run simultaneously:

<?program
   id="g"
  interpreter="/usr/bin/env guile"
?>
<?program
  id="p"
  interpreter="/usr/bin/env perl"
?>
<?g
  (define title "My Title")
  (define user "CoolDude1024")
?>
<html>
<head><title><?g (write title) ?></title></head>
<body>
<h1><?g (write title) ?></h1>
How are you doing today, <?g (write user) ?>?  <?p print "I've written this
in Perl!!!" ?>.
</body>
</html>

I was wondering if anybody had any suggestions on this concept before I get
too far through coding it.
-- 
- Luiji Maryo (a.k.a. Brain Boy)
Visit me at http://brainboyblogger.blogspot.com/.

Reply via email to