cloudhead
0af5632531
renamed string to quoted, to match the node
2010-03-05 14:56:27 -05:00
cloudhead
cd5bddff99
when parsing a string, capture the content too
2010-03-05 14:55:21 -05:00
cloudhead
476581f77a
getting combinators to output properly. some little hacks, but it beats having a white-space sensitive grammar
2010-03-05 11:39:39 -05:00
cloudhead
b4f3e9029c
output strings in attribute selectors properly
2010-03-04 16:13:48 -05:00
cloudhead
4767b264e7
basic mixins with namespaces working. swoosh.
2010-03-03 21:21:32 -05:00
cloudhead
e9c6645b2c
end rule
2010-03-03 12:01:17 -05:00
cloudhead
e6c5c57755
inverse style to stylize
2010-03-03 12:01:06 -05:00
cloudhead
efab821115
parse mixins, including namespace. For now, lets focus on one mixin per rule
2010-03-03 12:00:55 -05:00
cloudhead
14bc6def86
a little clearer ParseError output
2010-03-03 11:59:30 -05:00
cloudhead
76eb332b24
Use anonymous functions for the parsers.. It saves us some file size.
2010-03-02 14:58:06 -05:00
cloudhead
f70f6a542c
merge node->tree changes
2010-03-01 19:47:32 -05:00
cloudhead
5ee0209e8a
don't use Usage: node [options] script.js [arguments]
...
-v, --version print node's version
--debug[=port] enable remote debugging via given TCP port
--debug-brk[=port] as above, but break in node.js and
wait for remote debugger to connect
--cflags print pre-processor and compiler flags
--v8-options print v8 command line options
Documentation can be found at http://nodejs.org/api.html or with 'man node', as it's, um, used by node. Use instead. Also moved tree.node requires in tree.js
2010-03-01 15:32:21 -05:00
cloudhead
f0c00ab2b4
create an empty Combinator if none was specified. Refactored Combinator generation, and added + ~ ::
2010-02-28 12:49:08 -05:00
cloudhead
35b452bf00
error = null, when starting a parse
2010-02-28 01:07:13 -05:00
cloudhead
1e16d0233c
ParseErrors dont raise an exception anymore, we just set parser.error to the value of the error
2010-02-27 14:14:52 -05:00
cloudhead
bd88ab89ef
optimize dimension parsing, also fixes weird bug
2010-02-26 22:31:26 -05:00
cloudhead
fd8aa91ddc
improved the chunkification process, and gave different options, as well as an option not to chunkify, through the optimization setting. The ideal split is now \n}
2010-02-26 16:34:49 -05:00
cloudhead
d97b30d9cc
replace \r\n with \n
2010-02-26 14:50:26 -05:00
cloudhead
3ce2d7ad19
handle missing ; before a }
2010-02-26 14:49:07 -05:00
cloudhead
0c00a9c8ac
handle empty property values
2010-02-26 14:48:32 -05:00
cloudhead
78ae5285d6
handle capitalized alpha()
2010-02-26 14:47:59 -05:00
cloudhead
4c1ce7075b
eat tabs
2010-02-26 14:47:32 -05:00
cloudhead
e30851d384
fixed whitespace eating through chunks
2010-02-26 14:47:25 -05:00
cloudhead
c041deacdb
fixed parsing of [disabled] style attribute selectors
2010-02-26 11:29:01 -05:00
cloudhead
7b96181f06
minor optimization in element parsing
2010-02-26 11:28:34 -05:00
cloudhead
2dea90afb7
parse *prop for ie
2010-02-26 10:54:48 -05:00
cloudhead
c8b11c7796
added ms unit
2010-02-26 10:36:26 -05:00
cloudhead
b60c296e6e
throw a ParseError, instead of just an Error
2010-02-25 22:49:52 -05:00
cloudhead
543fb96a03
parse alpha in call() instead
2010-02-25 22:37:03 -05:00
cloudhead
9970cb0124
parse IE's alpha()
2010-02-25 22:32:13 -05:00
cloudhead
8c45b58524
parse !important
2010-02-25 21:29:34 -05:00
cloudhead
3f753da627
ability to parse more complex directives
2010-02-25 21:29:21 -05:00
cloudhead
3d60c12a68
get attribute parsing going
2010-02-25 21:28:39 -05:00
cloudhead
cc1b5a91c3
pass a context to directive(), so it can parse a block
2010-02-25 21:28:14 -05:00
cloudhead
5038b215fc
handle parse error at beginning of file
2010-02-25 21:27:45 -05:00
cloudhead
8a7747d15b
url() parsing
2010-02-25 21:27:23 -05:00
cloudhead
b81160107e
in a parens expression, just return the Expression for now
2010-02-25 18:01:03 -05:00
cloudhead
a01cb190eb
support caps in keywords, for fonts and stuff
2010-02-25 18:00:25 -05:00
cloudhead
a3b1ef0fd6
// comments
2010-02-25 17:59:28 -05:00
cloudhead
c72d5da9c5
proper parser error messages
2010-02-25 15:49:01 -05:00
cloudhead
0dc6c2e4c4
trim whitespace
2010-02-23 23:21:17 -05:00
cloudhead
308d32c587
moved primary rule to the top
2010-02-23 23:21:07 -05:00
cloudhead
01ae902eff
chunkify with a zero-width regexp
2010-02-23 23:20:38 -05:00
cloudhead
e339649158
literature, comments
2010-02-23 23:19:31 -05:00
cloudhead
ad66408b9f
init
2010-02-23 13:39:05 -05:00