Chris Wong
|
7d124e616e
|
Add #call instruction
|
2015-09-23 14:29:45 +12:00 |
|
Chris Wong
|
b50a3be6f6
|
Handle hyphens in attribute and element names
Closes #10
|
2015-09-15 17:51:27 +12:00 |
|
Chris Wong
|
6030eed9f7
|
Rename write_html! to html_utf8!
The new name makes it clear what the macro is doing: encoding the output
to UTF-8.
|
2015-09-12 14:21:01 +12:00 |
|
Chris Wong
|
37835b3b24
|
Rename $if and $for to #if and #for
`#if` and `#for` aren't splices. They are a different concept, so should
have different syntax as well.
|
2015-09-12 13:53:14 +12:00 |
|
Chris Wong
|
ebbd5d2e54
|
Add a write_html! macro
This handles the common case of wrapping the stream in a `Utf8Writer`.
|
2015-09-07 19:46:06 +12:00 |
|
Chris Wong
|
cdcacab1ea
|
Add Utf8Writer
|
2015-09-06 12:59:41 +12:00 |
|
Chris Wong
|
28b1624f4c
|
Rename write_html! to html!
It's more concise
|
2015-09-03 11:06:05 +12:00 |
|
Chris Wong
|
1badbd9df2
|
De-closureify the API
Closes #18
|
2015-09-01 18:26:50 +12:00 |
|
Chris Wong
|
46fab1372b
|
Allow nested macro invocations
Closes #15
|
2015-07-03 10:59:34 +12:00 |
|
Chris Wong
|
3c854d342c
|
Add regression test for #13
|
2015-04-30 16:33:24 +12:00 |
|
Chris Wong
|
333eb46c3a
|
Support if let
|
2015-03-15 16:23:19 +13:00 |
|
Chris Wong
|
a530d73d25
|
Implement for expressions
|
2015-03-14 21:14:11 +13:00 |
|
Chris Wong
|
8ff7ed8334
|
Switch from u8 to u32, as per style guidelines
|
2015-03-01 20:02:34 -05:00 |
|
Chris Wong
|
ef1e305468
|
Rewrite if expression stuff
|
2015-03-01 19:56:01 -05:00 |
|
Chris Wong
|
ed28f1c1bc
|
Implement if/else
|
2015-02-27 17:26:14 +13:00 |
|
Chris Wong
|
64962e2c41
|
Update Rust
|
2015-02-13 17:46:02 +13:00 |
|
Chris Wong
|
47e73c4bca
|
Use fancy new range syntax
|
2015-02-06 14:50:47 +13:00 |
|
Chris Wong
|
e01af11eaa
|
Update Rust
|
2015-02-02 20:53:47 +13:00 |
|
Chris Wong
|
dca0400692
|
Implement toggleable boolean attributes
Closes #4
|
2015-01-29 13:47:11 +13:00 |
|
Chris Wong
|
d8ee991da2
|
Rename [render, render_to] -> [to_string, render]
It's more consistent with existing conventions
|
2015-01-27 11:16:22 +13:00 |
|
Chris Wong
|
16994b5618
|
Add regression test for #1
|
2015-01-26 12:31:11 +13:00 |
|
Chris Wong
|
2250c2e961
|
Make splices a bit nicer to use
|
2015-01-18 20:18:21 +13:00 |
|
Chris Wong
|
4da9272494
|
Finally make splicing variables work
|
2015-01-17 22:21:27 +13:00 |
|
Chris Wong
|
4bd68641e1
|
Make tests significantly more sexy
|
2015-01-14 13:48:48 +13:00 |
|
Chris Wong
|
663247aef3
|
Use an opaque Markup type instead of a bare closure
|
2015-01-12 15:52:11 +13:00 |
|
Chris Wong
|
905edd0ae0
|
Rewrite parser again
Now it's some one-pass monstrosity oh noes
|
2015-01-10 21:29:58 +13:00 |
|
Chris Wong
|
4a03e09cbb
|
Update Rust
|
2015-01-08 11:27:40 +13:00 |
|
Chris Wong
|
81cbfb9267
|
Use shiny new slicing syntax
|
2015-01-07 17:54:43 +13:00 |
|
Chris Wong
|
05c68067dd
|
Rewrite the parser yay
|
2015-01-07 17:43:37 +13:00 |
|
Chris Wong
|
8b199d1c03
|
Generate closures rather than bare fns
|
2014-12-19 18:25:44 +13:00 |
|
Chris Wong
|
225fee6681
|
Add escaping
|
2014-12-19 12:33:02 +13:00 |
|
Chris Wong
|
9e8e2f652e
|
Rename htmlthing to maud
rocks
|
2014-12-18 19:49:49 +13:00 |
|