summaryrefslogtreecommitdiff
path: root/scss/source.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix a couple oopses on Python 3.Eevee (Alex Munroe)2014-08-241-1/+1
|
* Clean up @import and SourceFile.Eevee (Alex Munroe)2014-08-241-55/+115
| | | | | | | | | | | | | | Real files are now identified by their absolute path at all times. Fake files are expected to provide some other unique identifier. Importing now explicitly checks that a found file is a descendant of one of the search paths, so relative imports can finally work. The spec rules for deciding when an import should compile to a CSS @import have been (mostly) implemented. Also, `@import "a.css", "b.css"` would spit out broken CSS; this is now fixed.
* Break up the compiler, and a lot of big modules. Fixes #133.Eevee (Alex Munroe)2014-08-221-0/+218
Compiler is now separate from a compilation, with a frontend class that tries to preserve the old semantics. Much nicer. Ahh. @option is totally broken, though, which breaks a whole lot of the test suite as well.