Chris Wong
|
ab45846e1e
|
Use more friendly names in renderer
|
2015-09-01 18:56:02 +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
|
d6677b3319
|
Borrow spliced values instead of moving them
Closes #13
|
2015-04-30 16:32:15 +12:00 |
|
Chris Wong
|
d7d5679e6e
|
Fix typo
|
2015-04-10 20:21:09 +12:00 |
|
Chris Wong
|
180becbee4
|
Coalesce the contents of blocks as well
|
2015-04-10 19:02:36 +12:00 |
|
Chris Wong
|
c507571c5d
|
Coalesce adjacent writes
Fixes #5
|
2015-04-10 19:02:14 +12:00 |
|
Chris Wong
|
e3998645f6
|
API comment conventions redux
|
2015-04-08 22:51:21 +12:00 |
|
Chris Wong
|
67daea81d8
|
Merge #8
|
2015-04-04 10:34:31 +13:00 |
|
Chris Wong
|
c75ced0f02
|
Clean up lifetimes stuff
|
2015-04-04 10:27:44 +13:00 |
|
ArtemGr
|
3866afbe2a
|
Rust upgrade (seems to need a Clone with a Copy).
|
2015-04-03 23:41:53 +03:00 |
|
Chris Wong
|
5988d32562
|
Epic rustup of doom
|
2015-03-21 13:38:39 +13: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
|
ef1e305468
|
Rewrite if expression stuff
|
2015-03-01 19:56:01 -05:00 |
|
Chris Wong
|
b1e0647192
|
Remove cow
moo
|
2015-02-27 17:40:38 +13:00 |
|
Chris Wong
|
9b13557781
|
Switch to new std::io module
|
2015-02-18 20:28:44 +13:00 |
|
Chris Wong
|
649be1de09
|
Remove &: annotation from generated closures
|
2015-02-10 17:28:52 +13:00 |
|
Chris Wong
|
fa9404872e
|
Refactor toggleable attributes
|
2015-02-09 15:05:50 +13:00 |
|
Chris Wong
|
1c0d5e9c31
|
Make the renderer owned instead of borrowed
|
2015-02-07 17:48:09 +13:00 |
|
Chris Wong
|
f080ee7da1
|
Epic refactor of doom, redux
|
2015-02-06 16:26:35 +13:00 |
|
Chris Wong
|
e01af11eaa
|
Update Rust
|
2015-02-02 20:53:47 +13:00 |
|
Chris Wong
|
110930a558
|
Epic refactor of doom
* Use `&ExtCtxt` instead of `&mut ExtCtxt`
* Take statements vector by value instead of by reference
* Make control structures easier to write
|
2015-01-30 18:48:29 +13:00 |
|
Chris Wong
|
21a68c305c
|
Silence "unnecessary parentheses" warnings
|
2015-01-29 13:56:55 +13:00 |
|
Chris Wong
|
dca0400692
|
Implement toggleable boolean attributes
Closes #4
|
2015-01-29 13:47:11 +13:00 |
|
Chris Wong
|
8eb655207e
|
Take inner closure by value instead of by reference
Closes #1
|
2015-01-26 12:20:49 +13:00 |
|
Chris Wong
|
40424e283c
|
Use the Escaper struct directly
It's internal anyway, so meh
|
2015-01-17 22:21:27 +13:00 |
|
Chris Wong
|
4da9272494
|
Finally make splicing variables work
|
2015-01-17 22:21:27 +13:00 |
|
Chris Wong
|
e3752b72e6
|
Make Renderer::write() private
It's pretty much an implementation detail anyway
|
2015-01-13 16:47:14 +13:00 |
|
Chris Wong
|
e047b3fbb3
|
Add syntax for empty attributes
|
2015-01-13 16:46:37 +13:00 |
|
Chris Wong
|
75dffff135
|
Remove redundant lifetime constraints
It compiles fine without them, so meh
|
2015-01-12 16:02:30 +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
|
6a8ce2cf34
|
Move Escape type to render module
|
2015-01-11 11:01:39 +13:00 |
|
Chris Wong
|
b1aa300884
|
Don't use different escaping rules for attributes
|
2015-01-11 10:58:27 +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
|
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
|
8a8ae3a5a3
|
Update Rust
|
2015-01-04 21:34:10 +13:00 |
|
Chris Wong
|
f8a8e89a30
|
Fix the build
|
2014-12-20 21:27:55 +13:00 |
|
Chris Wong
|
0b34339f76
|
Make parser more epic
It's so sexy now, it's kind of disturbing
|
2014-12-20 20:41:53 +13:00 |
|
Chris Wong
|
65db994b92
|
Change render_value to return a Expr, not a Stmt
|
2014-12-19 21:28:05 +13:00 |
|
Chris Wong
|
8b199d1c03
|
Generate closures rather than bare fns
|
2014-12-19 18:25:44 +13:00 |
|
Chris Wong
|
31ae7fd4aa
|
Clean up runtime package
|
2014-12-19 12:33:02 +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 |
|