summaryrefslogtreecommitdiff
path: root/scss/expression.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify BooleanValue.Eevee2013-05-291-22/+18
|
* Refactor and simplify variable storage and expression evaluation.Eevee2013-05-231-106/+90
| | | | | | | | Variables, functions, and mixins are now all stored within a single Namespace object, which can easily spin off child namespaces. Calculator methods no longer need to accept a rule at all, making it possible to parse and evaluate expressions in a vacuum.
* Avoid expanding colors on load.Eevee2013-05-231-2/+12
|
* Break functions and mixins out of rule.options.Eevee2013-05-231-6/+7
| | | | | Also introduces ChainMap, used for scoping instead of options, and subclasses it to build in the variable name normalization.
* Promote eval_expr and interpolate to Calculator methods.Eevee2013-05-231-73/+73
|
* Move Calculator into expression.py.Eevee2013-05-231-5/+97
|
* Replace CachedScanner with an AST cache.Eevee2013-05-231-78/+22
| | | | Slows us down a bit; still figuring out why.
* Remove rule and library from the expression grammar.Eevee2013-05-231-52/+47
|
* Rework expression parser to spit out an AST rather than evaluating as it goes.Eevee2013-05-231-115/+218
|
* Interpolated mixins names normalizedGerman M. Bravo2013-05-021-2/+1
|
* Cleanups, variables names fixed, small issues fixedGerman M. Bravo2013-05-021-1/+2
|
* Remove lingering references to rule.index.Eevee2013-05-021-2/+2
|
* Remove some debugging code that no longer works anyway.Eevee2013-02-261-1/+1
|
* Finish rule to object conversion.Eevee2013-02-261-9/+7
|
* Big Sass function breakout.Eevee2013-02-211-16/+21
| | | | | | | | | | | | - FunctionRegistry is now FunctionLibrary, which sounds more like a thing and less like I had no idea what to call it. - Built-in functions are all added to the library decorator-style. - Built-in functions have been split into several smaller modules. - The stuff in parseutil turns out not to be related to parsing, so it's been broken apart too.
* Break out expression parsing and resolution.Eevee2013-02-131-0/+482