Skip to content

css-raku/CSS-Specification-raku

Repository files navigation

[Raku CSS Project] / [CSS-Specification]

CSS-Specification-raku

This is a Raku module for parsing CSS property definitions.

These are widely used throughout the W3C CSS Specifications to describe properties. The syntax is described in http://www.w3.org/TR/CSS21/about.html#property-defs.

An example, from http://www.w3.org/TR/CSS21/propidx.html:

'content'	normal \
           | none \
           | [  <string> | <uri> | <counter> | attr(<identifier>) \
              | open-quote | close-quote | no-open-quote | no-close-quote \
             ]+ \
           | inherit

Grammars and Classes

  • CSS::Specification::Base::Grammar + CSS::Specification::Base::Actions - maps property specification terminology to CSS Core syntax and defines any newly introduced terms. For example integer is mapped to int.

See Also

About

CSS Property Specification grammars and tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages