Skip to content

Latest commit

 

History

History
executable file
·
29 lines (20 loc) · 1.04 KB

README.md

File metadata and controls

executable file
·
29 lines (20 loc) · 1.04 KB

css-parse

Build Status

parse, detect errors, and pretty-print css directly in terminal, natively in OCaml, or even from JavaScript.

this is under active development, please do not use yet

Overview

css-parse is written in OCaml and utilizes ocamllex and menhir for lexer and parser generation. A pretty good introduction and explanation of the tools can be found in Real World Ocaml. We generate a binary as well that can be run from the command line.

Development

You'll need to install esy as well as menhir. To bootstrap the project run:

esy install
make

Testing Done

In order to test this module, I've stolen test cases from the very well tested reworkcss. All of the test cases are run through OUnit and can be executed with:

make test