Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 include Other fixes for Grammar cleanup September 08, 2012
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 tools
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 SConstruct
README.md

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

  • Recent revision of Mapnik2 from SVN
  • Boost 1.4.7 or newer

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
Something went wrong with that request. Please try again.