<?php

require_once(dirname(__FILE__).'/bootstrap.php');

$oParser = new Sabberworm\CSS\Parser(file_get_contents('php://stdin'));

$oDoc = $oParser->parse();

echo '#### Structure (`var_dump()`)'."\n";
var_dump($oDoc);

echo '#### Output (`render()`)'."\n";
print $oDoc->render();
echo "\n";