From: Randy Kramer Date: 2005-10-02T03:49:36+09:00 Subject: Re: Interest in Boost::Ruby On Friday 30 September 2005 11:06 pm, Austin Ziegler wrote: > On 9/30/05, Alan Gutierrez wrote: > > * Austin Ziegler [2005-09-30 21:41]: > > > On 9/30/05, Alan Gutierrez wrote: > > > > >>> I'd like to build a CSS renderer in modern C++ as an enthusist's > >>> pursuit. I don't want to get bogged down in huge build systems, or > >>> many different IDEs. Just to be sure I'm on the same page, by CSS renderer, you mean something that renders HTML, using style information from a CSS file/sheet? If yes, I'm interested and may try to help (to the extent I can). (I want something that renders very quickly, and provides an easy interface from another thingie (like a specialized editor widget) (I don't want to send the data from the other thingie to a file to be opened by the CSS renderer, but something much more direct--I'd rather send a pointer to a string containing the HTML or something along those lines.) Do you plan to render the CSS/HTML in a GUI widget type thingie, or somehow just have console output (along the lines of lynx, links, ...)? (I'm looking for a GUI widget.) If you plan on a GUI widget, do you have a prebuilt one in mind? Which? If I'm way off base, maybe you can clarify a little more what you have in mind. (I see Austin's (?) reference to applying CSS to SVG documents in the next paragraph--is that what you have in mind?) > >> Just for what it's worth, after RubyConf, I hope to be working on a > >> CSS engine. The purpose of this engine will be very limited -- > >> applying CSS to SVG documents for proper rendering in PDF documents, > >> but it will be written entirely in Ruby. > Heh, um. CSS is most certainly *not* a clean specification. It's > implementable, sure, but there are certainly things that I will be > ignoring in the spec -- it's a right mess, that spec. > > > My plan would be to create UI primitives in C++ first, and make then > > available to Ruby. This rather than adopting Qt or Tk similiar, since > > it would have a lot of things I don't need. Hmm, I've tried C++ a few times, never made much progress, I think I'd prefer something more Ruby like, although I'm only in the (temporarily interrupted) process of learning Ruby. Randy Kramer