Re: My Project: Guile Hypertext Preprocessor

2010-08-18 Thread Andy Wingo
Hi, On Wed 11 Aug 2010 17:12, Luiji Maryo writes: > 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. I was recently pointed to http://woozle.org/~neale/src/eguile/. What do yo

Re: My Project: Guile Hypertext Preprocessor

2010-08-12 Thread Mike Gran
> From: "d...@mac.com" > > Guile is not its REPL. Look at '-s', '-e'. With that resolved, > I wonder whether there are still useful HTML pages where the > static template is large compared to the language fragment. >PHP is a product of its time. I agree with Dan that the large template with sma

Re: My Project: Guile Hypertext Preprocessor

2010-08-12 Thread d...@mac.com
Guile is not its REPL. Look at '-s', '-e'. With that resolved, I wonder whether there are still useful HTML pages where the static template is large compared to the language fragment. PHP is a product of its time. Cheers, Dan On Aug 12, 2010, at 2:49 PM, Luiji Maryo wrote: > Hm...I've just

Re: My Project: Guile Hypertext Preprocessor

2010-08-12 Thread Thien-Thi Nguyen
() Luiji Maryo () Thu, 12 Aug 2010 14:49:17 -0400  - Guile would output "guile> " every line, which would appear in the output. [workaround] I currently see no alternative, but anybody may feel free to suggest one. Another idea is to instruct the interpreter not to output this prom

Re: My Project: Guile Hypertext Preprocessor

2010-08-12 Thread Luiji Maryo
Hm...I've just realized a few problems with how I've structured this. For one thing, the Guile and Perl interpreters would not be able to evaluate just one section of code at a time, because:: - Guile would output "guile> " every line, which would appear in the output. - Perl would require an EO

Re: My Project: Guile Hypertext Preprocessor

2010-08-11 Thread Linas Vepstas
On 11 August 2010 19:12, Luiji Maryo wrote: > Hello, >   (define title "My Title") >   (define user "CoolDude1024") > ?> > > > > > How are you doing today, > I was wondering if anybody had any suggestions on this concept before I get > too far through coding it. For what its worth, there

My Project: Guile Hypertext Preprocessor

2010-08-11 Thread Luiji Maryo
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