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

Re: Generating HTML with Dylan



Rob Myers <robmyers@mac.com> writes:

> 
> html
> 	head
> 	end head;
> 	body
> 		p
> 			b
> 				"Hello world"
> 			end b;
> 		end p;
> 	end body;
> end html;

I thought of this approach and I might try an alternative macro and
see how it works in practice. It's a bit more verbose but might be
easier to understand from a Dylan syntax point of view.

> There's a dynamic bind macro in the core DUIM libraries for d2c in
> gd/src/duim/utils/fun-dev-compat.dylan , and a dummy version that
> actually compiles accompanies it. :-)

I'll take a look and see if I can get it working with my code. GD also
complained on code like:

  write(stream, '\"');

It didn't seem to like the \" I think. FD accepts it so I'm assuming
it's valid Dylan. I will definitely be trying to get more of my code
working on both compilers.

Chris.
-- 
http://www.double.co.nz/dylan