rundel / carto-parser

12 stars 7 forks source link

carto-parser

This is a testbed for the implementation of a native C++ parser for the carto stylesheet language. Current example implementation handles parsing of both mml and mss files with translated output into xml.

Requirements

Building

To build the example application:

make

The included makefile has been tested on OSX 10.6 and 10.7 with Mapnik2 and Boost installed via the Homebrew package management system. It has not been tested on Linux or Windows, please report any issues you encounter on these or other systems. Note that the makefile currently uses clang++ as the default compiler, this can be changed to g++ by commenting and uncommenting the relevant lines.

Running

The example application can be run as follows:

./example tests/test.mml
./example tests/test.mss