Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Maps should have their keys evaluated as expressions! | Eevee (Alex Munroe) | 2013-08-28 | 1 | -4/+2 |
| | |||||
* | Short-circuit boolean evaluation, and return the determining value. | Eevee (Alex Munroe) | 2013-08-28 | 1 | -4/+10 |
| | | | | | This acts much more like Python; now we don't even evaluate the AST once we know the result. | ||||
* | At long last, kill ParserValue and most of the Color constructor. | Eevee (Alex Munroe) | 2013-08-27 | 1 | -3/+3 |
| | |||||
* | Holy crap variable arguments. Fixes #100! | Eevee (Alex Munroe) | 2013-08-23 | 1 | -1/+4 |
| | |||||
* | Parser support for slurpy arguments. | Eevee (Alex Munroe) | 2013-08-23 | 1 | -25/+63 |
| | |||||
* | Enforce that Sass functions return Sass values. | Eevee (Alex Munroe) | 2013-08-21 | 1 | -2/+5 |
| | |||||
* | except...as | Eevee (Alex Munroe) | 2013-08-19 | 1 | -2/+2 |
| | |||||
* | Simplify AST cache. | Eevee (Alex Munroe) | 2013-08-19 | 1 | -11/+6 |
| | |||||
* | Fix bug in error printing. Make evaluate_expression use parse_expression. | Eevee (Alex Munroe) | 2013-08-19 | 1 | -25/+15 |
| | |||||
* | Bit more context for errors, including a sweet caret. | Eevee (Alex Munroe) | 2013-08-19 | 1 | -10/+7 |
| | | | | | Partially reverted the grayscale() fix, since it masks errors in Sass functions. | ||||
* | Basic error wrapping. | Eevee (Alex Munroe) | 2013-08-19 | 1 | -4/+9 |
| | |||||
* | Parentheses for maps too | German M. Bravo | 2013-08-17 | 1 | -2/+2 |
| | |||||
* | Better repr() for Expressions | German M. Bravo | 2013-08-17 | 1 | -1/+37 |
| | |||||
* | Using css built-in functions vs. css & scss functions vs. non-existent functions | German M. Bravo | 2013-08-17 | 1 | -24/+25 |
| | |||||
* | AST cache is in a per-target basis (also, cache is now in the Calculator ↵ | German M. Bravo | 2013-08-17 | 1 | -3/+10 |
| | | | | class type | ||||
* | Functions and mixins can use other variables from the call (funcitons code ↵ | German M. Bravo | 2013-08-17 | 1 | -21/+32 |
| | | | | restructured) | ||||
* | ArgspecLiteral should return Undefined instead of None (for missing values) | German M. Bravo | 2013-08-17 | 1 | -1/+1 |
| | |||||
* | Variable renamed | German M. Bravo | 2013-08-17 | 1 | -2/+2 |
| | |||||
* | Exceptions during evaluation are ignored unless DEBUG is on (otherwise ↵ | German M. Bravo | 2013-08-17 | 1 | -7/+8 |
| | | | | things get broken, like 'filter: grayscale(1) brightness(.1);' for example) | ||||
* | Failed parses should return opaque Strings. More often. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -1/+1 |
| | |||||
* | Removed legacy StringValue, ColorValue, *Value classes | German M. Bravo | 2013-08-16 | 1 | -12/+12 |
| | |||||
* | Maps can have literals as keys, they also take multiple optional commas ↵ | German M. Bravo | 2013-08-16 | 1 | -45/+74 |
| | | | | (ignored). Grammar re-organized | ||||
* | Merge branch 'experimental-maps' | Eevee (Alex Munroe) | 2013-08-16 | 1 | -11/+58 |
|\ | | | | | | | | | | | | | Conflicts: scss/expression.py scss/src/grammar/grammar.g scss/src/grammar/grammar.py | ||||
| * | Support destructuring @each. | Eevee (Alex Munroe) | 2013-08-15 | 1 | -4/+4 |
| | | |||||
| * | Remove the need for _rewind. | Eevee (Alex Munroe) | 2013-08-15 | 1 | -16/+11 |
| | | |||||
| * | Experimental first crack at maps support. | Eevee (Alex Munroe) | 2013-08-15 | 1 | -21/+68 |
| | | |||||
* | | Remove trailing Undefined arguments | German M. Bravo | 2013-08-16 | 1 | -2/+4 |
| | | |||||
* | | Fix handling of variable names in argspecs. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -8/+21 |
| | | |||||
* | | Sass documentation tests pass. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -11/+10 |
| | | |||||
* | | Interpolation of Undefined working | German M. Bravo | 2013-08-16 | 1 | -9/+19 |
| | | |||||
* | | KWARG used by iter_def_argspec is expected to be a Variable | German M. Bravo | 2013-08-16 | 1 | -16/+18 |
| | | |||||
* | | Pass the expression directly to the scanner | German M. Bravo | 2013-08-16 | 1 | -5/+3 |
| | | |||||
* | | Compiled grammar updated | German M. Bravo | 2013-08-16 | 1 | -53/+57 |
| | | |||||
* | | Remove the need for _rewind. | Eevee (Alex Munroe) | 2013-08-16 | 1 | -30/+26 |
|/ | |||||
* | s/_test/_expr/ in grammar | Eevee (Alex Munroe) | 2013-08-14 | 1 | -18/+18 |
| | |||||
* | Parentheses is an Expression. | Eevee (Alex Munroe) | 2013-08-14 | 1 | -1/+1 |
| | |||||
* | Treat !important as a bareword. | Eevee (Alex Munroe) | 2013-08-14 | 1 | -13/+17 |
| | |||||
* | Force variable assignment to always perform division. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -4/+4 |
| | |||||
* | Pass the stack to the logger | German M. Bravo | 2013-08-13 | 1 | -1/+1 |
| | |||||
* | Normalized function names | German M. Bravo | 2013-08-13 | 1 | -6/+5 |
| | |||||
* | PEP8 cleanups | German M. Bravo | 2013-08-13 | 1 | -14/+18 |
| | |||||
* | Move the FATAL_UNDEFINED check into the AST. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -37/+29 |
| | |||||
* | Use the parser for parsing @function argspecs. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -6/+38 |
| | |||||
* | Fix test_expression to use real types. Minor type fixes. | Eevee (Alex Munroe) | 2013-08-13 | 1 | -3/+7 |
| | |||||
* | Oops! ...this fixes last two commits | German M. Bravo | 2013-08-13 | 1 | -1/+1 |
| | |||||
* | func doesn't have is_null... however, fuc is None at times here (for some ↵ | German M. Bravo | 2013-08-13 | 1 | -2/+1 |
| | | | | weird reason) | ||||
* | Added Undefined type. Undefined variables get this value if FATAL_UNDEFINED ↵ | German M. Bravo | 2013-08-13 | 1 | -3/+6 |
| | | | | is False | ||||
* | Simplified ColorValue considerably. | Eevee (Alex Munroe) | 2013-08-09 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | - Rendering now follows Ruby's rules: shortest representation when compressing, otherwise use the original literal, the name, and hex notation in that order. - The old __str__ fallback is gone. - The `types` attribute is no longer needed. - The strange `merge` method is no longer needed. - Got rid of a couple uses of `to_str`, and made it aware of how to render types. | ||||
* | Better parity for default operator behavior. Also fix some bare bools. | Eevee (Alex Munroe) | 2013-08-09 | 1 | -3/+4 |
| | |||||
* | Test suite passes (as well as it did before) on Py3! | Eevee (Alex Munroe) | 2013-08-02 | 1 | -2/+2 |
| |