[fpc-pascal] Is there a CSS parser in FPC?

Michael Van Canneyt michael at freepascal.org
Tue Mar 3 15:33:23 CET 2015



On Tue, 3 Mar 2015, Graeme Geldenhuys wrote:

> Hi,
>
> As the subject says, I would like to know if there is a CSS parser
> included with FPC (2.6.4 or Trunk)? No issue if there isn't, as I might
> not initially need one for the project I want to start - but looking
> around in the mean time wouldn't hurt.

FPC doesn't contain one, but I would be glad to put one in the source tree.

> I'm thinking of writing a couple of articles documenting a pet project I
> have been meaning to do for some time. Writing a "toy" web browser
> engine. I don't think many people actually know what is involved in a
> browser engine, or the rendering pipeline. So documenting the process
> from scratch should be a good learning experience for many (myself
> included). I want to initially limit as much dependencies as possible,
> and obviously simplify it for the articles, but at the same time make it
> so various rasterizers (AggPas, OpenGL, fpGUI Canvas, LCL Canvas, Image
> file output etc) can be plugged in for the final output.
>
> What's your thoughts? Who knows, this project might even grow to become
> something useful for fpGUI or LCL based apps. But that is far down the
> road for now.

Presumably the HTML browser of TurboPower IP included in lazarus has a CSS parser.
Maybe you can have a look at it.

Michael.



More information about the fpc-pascal mailing list