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
f08963012a
Release 0.3.3
2015-04-03 16:30:43 +13:00
Chris Wong
2aa687fc0f
Update Rust
2015-03-29 19:37:26 +13:00
Chris Wong
c7ab906ad9
Guard against trailing tokens in Rust exprs
...
Currently, the following parses:
$for x in y.iter() #$%!INVALID~SYNTAX!^&* {
}
This is because the Rust parser only consumes enough to parse a single
expression (in this case `y.iter()`), ignoring all the nonsense after
it.
With this patch, we check that the parser has consumed *all* tokens
before yielding a result, ensuring that invalid syntax (like the snippet
above) is not ignored.
2015-03-27 13:57:58 +13:00
Chris Wong
a8928988d0
Add some missing semicolons
2015-03-27 13:57:58 +13:00
Chris Wong
df0689c7ed
Release v0.3.2
2015-03-21 13:40:08 +13:00
Chris Wong
5988d32562
Epic rustup of doom
2015-03-21 13:38:39 +13:00
Chris Wong
40612241f2
Release 0.3.1
2015-03-15 17:28:52 +13:00
Chris Wong
92020cfa86
Cleanup
2015-03-15 16:42:34 +13:00
Chris Wong
333eb46c3a
Support if let
2015-03-15 16:23:19 +13:00
Chris Wong
098e71468c
Remove #[feature(io)]
...
I/O is stable now
2015-03-15 11:18:21 +13:00
Chris Wong
9586ebfa63
Release 0.3.0
2015-03-15 11:11:27 +13:00
Chris Wong
0170d76aa8
Add homepage to Cargo.toml
2015-03-15 11:10:06 +13:00
Chris Wong
41f0e15970
Link to the book
2015-03-14 21:28:04 +13:00
Chris Wong
a530d73d25
Implement for
expressions
2015-03-14 21:14:11 +13:00
Chris Wong
4da1e369cd
Tweak error messages a bit
2015-03-14 21:14:11 +13:00
Chris Wong
a118f54612
API comment conventions ( rust-lang/rfcs#505 )
2015-03-06 12:50:14 +13:00
Chris Wong
74475f922b
Update Rust
2015-03-01 20:07:50 -05: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
b1e0647192
Remove cow
...
moo
2015-02-27 17:40:38 +13:00
Chris Wong
9b1ba74b7d
Simplify Travis script
2015-02-27 17:26:14 +13:00
Chris Wong
ed28f1c1bc
Implement if/else
2015-02-27 17:26:14 +13:00
Chris Wong
bc305caf17
Epic refactor of doom, the third
2015-02-27 17:26:06 +13:00
Chris Wong
9b13557781
Switch to new std::io module
2015-02-18 20:28:44 +13:00
Chris Wong
34662a2a56
Add crates.io badge
...
[ci skip]
2015-02-14 16:58:31 +13:00
Chris Wong
64962e2c41
Update Rust
2015-02-13 17:46:02 +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
7e6528550d
Update Rust
2015-02-09 15:03:54 +13:00
Chris Wong
1c0d5e9c31
Make the renderer owned instead of borrowed
2015-02-07 17:48:09 +13:00
Chris Wong
8be631411c
Make span always the first parameter
2015-02-07 17:08:08 +13:00
Chris Wong
56a7728fa1
Use correct span while parsing a block
2015-02-07 17:05:36 +13:00
Chris Wong
52bd1e4189
Release 0.2.0
2015-02-07 12:29:34 +13:00
Chris Wong
f080ee7da1
Epic refactor of doom, redux
2015-02-06 16:26:35 +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
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
9ee1c76e93
Rename std::io => std::old_io
...
The iopocalypse begins
2015-01-30 18:00:22 +13:00
Chris Wong
6f08b62922
Abandon all hope of getting doc uploads to work
2015-01-29 14:57:28 +13:00
Chris Wong
9abc8003f3
Update Rust CI token (again)
2015-01-28 21:54:34 +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
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
dd9679fa89
Release 0.1.1
2015-01-26 12:41:42 +13:00
Chris Wong
16994b5618
Add regression test for #1
2015-01-26 12:31: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
af60d7c3ec
Edit docs again!
...
Exclamation marks!
2015-01-25 17:45:08 +13:00