Skip to content

Instantly share code, notes, and snippets.

@chrislloyd
Last active September 15, 2016 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrislloyd/9e02e50601f0fd291161eb139b7b4e14 to your computer and use it in GitHub Desktop.
Save chrislloyd/9e02e50601f0fd291161eb139b7b4e14 to your computer and use it in GitHub Desktop.
Arithmetic {
Exp
= ComposeExp ("," ComposeExp ) * end
ComposeExp
= exportIdent + Source ?
Source
= "from" url
exportIdent
= ~ "from" alnum +
url
= quote ( alnum | "." | "/" ) * quote
quote
= "\""
| "'"
}
// separated by \n\n, used like:
// composes: XXX;
red
large red
red from "./colors.css"
large red from "./styles.css"
large from "./type.css", red from "./colors.css"
large from "./type.css",
red from "./colors.css"
large, red
large, red from "./colors.css"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment