1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

34 commits

Author SHA1 Message Date
Takashi Kokubun
f97a8b5224 Use :haml for sexp for not-compiled parse result 2015-03-15 04:22:43 +09:00
Takashi Kokubun
99782c89d5 Parse block script 2015-03-15 04:04:58 +09:00
Takashi Kokubun
a6ba22edd1 Ride on the rail of Temple::Filter 2015-03-15 03:18:17 +09:00
Takashi Kokubun
edfc3db18e Implement comment parser 2015-03-15 00:47:44 +09:00
Takashi Kokubun
f93f4c9faf Rename AttributeFilter to AttributeCompiler 2015-03-15 00:09:12 +09:00
Takashi Kokubun
5fcb613986 Drop AttributeParser completely 2015-03-15 00:09:12 +09:00
Takashi Kokubun
4f79e1672f Split parsing phase into 2 steps 2015-03-15 00:09:12 +09:00
Takashi Kokubun
67b909581f Hide an API in AttributeParser 2015-03-15 00:09:12 +09:00
Takashi Kokubun
bf5be4da81 Correctly parse nested attributes 2015-03-15 00:09:11 +09:00
Takashi Kokubun
3693d828c5 Parse string-key attribute 2015-03-15 00:09:11 +09:00
Takashi Kokubun
face236d3d Allow parsing multiple-keys hash 2015-03-15 00:09:11 +09:00
Takashi Kokubun
4bb8b0a75b Accept simple attributes 2015-03-15 00:09:11 +09:00
Takashi Kokubun
80b355aa23 Write simple hash parser 2015-03-15 00:09:11 +09:00
Takashi Kokubun
c57bc31a6d Refactor parsing id and class 2015-03-15 00:09:10 +09:00
Takashi Kokubun
0af6854003 Split Parser and leave only parsing-specific code 2015-03-15 00:09:10 +09:00
Takashi Kokubun
980a109b68 Rails integration 2015-03-15 00:09:09 +09:00
Takashi Kokubun
dfad202149 Name the gem "hamlit"
Hamlit is an abbreviation of "HAML ImplemenTation".
It also means "haml it", i.e. "write it with haml".
2015-03-15 00:08:47 +09:00
Takashi Kokubun
3d875d0472 Support parsing case-when 2015-03-11 22:35:33 +09:00
Takashi Kokubun
ae551cc05e Accept elsif 2015-03-11 22:20:06 +09:00
Takashi Kokubun
94dd6a96e8 Parse if-else 2015-03-11 22:16:50 +09:00
Takashi Kokubun
519e211956 Parse multiline block 2015-03-11 21:56:05 +09:00
Takashi Kokubun
32d576cdfb Parse single-line silent script 2015-03-11 21:26:46 +09:00
Takashi Kokubun
ab73c56f8a Parse script 2015-03-11 19:53:39 +09:00
Takashi Kokubun
9c3d4d9729 Refactor to unify the code 2015-03-11 19:38:22 +09:00
Takashi Kokubun
f254122b09 Accept implicit div tag 2015-03-11 02:20:42 +09:00
Takashi Kokubun
35ce793b3f Parse ids and classes 2015-03-11 01:00:08 +09:00
Takashi Kokubun
86798cbfb9 Ignore empty lines 2015-03-11 00:24:51 +09:00
Takashi Kokubun
4c3c0a0777 Refactor to fix deep nesting bug 2015-03-11 00:17:49 +09:00
Takashi Kokubun
2d77393880 Add newline to last 2015-03-11 00:11:14 +09:00
Takashi Kokubun
b1f2e4f2e9 Succeed to parse multiple-lines tag 2015-03-10 23:38:43 +09:00
Takashi Kokubun
50cee5cf13 Experimental multi line implementation 2015-03-10 20:01:33 +09:00
Takashi Kokubun
13aef53a7d Parse one-line element 2015-03-10 19:16:07 +09:00
Takashi Kokubun
afef4d8e5f Parse doctype 2015-03-10 00:41:21 +09:00
Takashi Kokubun
9cf8216983 Bundle gem hamilton 2015-03-09 14:36:35 +09:00