https://github.com/servo/libcss
[UNMAINTAINED] Servo fork of libcss from the NetSurf project
https://github.com/servo/libcss
Last synced: over 1 year ago
JSON representation
[UNMAINTAINED] Servo fork of libcss from the NetSurf project
- Host: GitHub
- URL: https://github.com/servo/libcss
- Owner: servo
- License: mit
- Archived: true
- Created: 2012-10-05T01:13:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-08T14:10:00.000Z (almost 13 years ago)
- Last Synced: 2024-07-31T22:57:26.189Z (almost 2 years ago)
- Language: C
- Homepage:
- Size: 2.96 MB
- Stars: 13
- Watchers: 26
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
LibCSS -- a CSS parser and selection engine
===========================================
Overview
--------
LibCSS is a CSS parser and selection engine. It aims to parse the forward
compatible CSS grammar.
Requirements
------------
LibCSS requires the following tools:
+ A C99 capable C compiler
+ GNU make or compatible
+ Pkg-config
+ Perl (for the testcases)
LibCSS also requires the following libraries to be installed:
+ LibParserUtils
+ LibWapcaplet
Compilation
-----------
If necessary, modify the toolchain settings in the Makefile.
Invoke make:
$ make
Verification
------------
To verify that the parser is working, it is necessary to specify a
different makefile target than that used for normal compilation, thus:
$ make test
API documentation
-----------------
Currently, there is none. However, the code is well commented and the
public API may be found in the "include" directory. The testcase sources
may also be of use in working out how to use it.