Brian Anderson
|
cc2ebbec92
|
Pretty-print constrained types correctly
|
2011-08-19 10:16:39 -07:00 |
|
Brian Anderson
|
09e21fe2b9
|
Pretty-print parens around more things that need disambiguation
Ridiculous stuff like (ret 0) == (log "error")
|
2011-08-19 10:16:38 -07:00 |
|
Brian Anderson
|
8327416411
|
Teach the pretty-printer to disambiguate 'if ret { }' et. al
|
2011-08-19 10:16:38 -07:00 |
|
Brian Anderson
|
113be53df3
|
Do better at preserving blank lines during pretty-printing
|
2011-08-19 10:16:38 -07:00 |
|
Brian Anderson
|
8c3ed8640b
|
Don't pretty-print extra blank lines after anon object methods
|
2011-08-19 10:16:38 -07:00 |
|
Brian Anderson
|
b02f1f46e5
|
Don't pretty-print trailing whitespace for blank lines inside block comments
|
2011-08-18 19:22:10 -07:00 |
|
Brian Anderson
|
84fb821e40
|
Try harder to disambig blocks followed by various exprs in pprust. Closes #840
As it turns out, it's not just unops we need to worry about. Also tuples and
anything that requires parens.
|
2011-08-18 18:53:36 -07:00 |
|
Tim Chevalier
|
3ddb26e993
|
Comments
|
2011-08-18 17:21:55 -07:00 |
|
Graydon Hoare
|
e8bcca2829
|
Kill another case of a spurious blank line. Closes #809.
|
2011-08-18 17:02:23 -07:00 |
|
Brian Anderson
|
f5ce3bf15d
|
More misc ivec->vec renaming
|
2011-08-18 15:01:49 -07:00 |
|
Brian Anderson
|
4fc3618233
|
Change ast::ty_ivec, ty::ty_ivec to ty_vec
|
2011-08-18 14:11:06 -07:00 |
|
Brian Anderson
|
c2d2dad093
|
Remove ast::ty_vec
|
2011-08-18 13:09:50 -07:00 |
|
Brian Anderson
|
ec898244f7
|
Remove seq_kind from ast::expr_vec
|
2011-08-18 13:09:50 -07:00 |
|
Brian Anderson
|
53eb4a3025
|
Pretty-print ivecs as []
|
2011-08-18 13:09:00 -07:00 |
|
Marijn Haverbeke
|
cd440d338e
|
Remove or _-prefix all unused function arguments
This should make the compilation process a bit less noisy.
|
2011-08-18 10:02:13 +02:00 |
|
Brian Anderson
|
69d4838169
|
Stop parsing old-style vec types
|
2011-08-17 16:08:45 -07:00 |
|
Brian Anderson
|
cd54e77720
|
Allow multiple imports in a single statement
Like so: import foo::{bar, baz};
Issue #817
|
2011-08-17 11:04:56 -07:00 |
|
Brian Anderson
|
c6482c0083
|
Refactor ast::view_item to differentiate between [ident]s and paths
|
2011-08-17 11:04:05 -07:00 |
|
Brian Anderson
|
67cc5b9e34
|
Allow multiple exports in a single export statement. Issue #817
|
2011-08-17 11:04:05 -07:00 |
|
Graydon Hoare
|
ce276211f5
|
Remove dead send/recv operator tokens.
|
2011-08-16 17:39:25 -07:00 |
|
Erick Tryzelaar
|
70b009178c
|
Remove support for expr[T] syntax.
|
2011-08-16 15:05:57 -07:00 |
|
Erick Tryzelaar
|
c92f5b34d5
|
Remove support for foo[T] declaration syntax.
|
2011-08-16 15:05:57 -07:00 |
|
Erick Tryzelaar
|
adb9cde399
|
Remove type parameter and vec/port/chan foo[T] syntax.
|
2011-08-16 15:05:57 -07:00 |
|
Erick Tryzelaar
|
af21a27002
|
Port the compiler to the expr foo::<T> syntax.
|
2011-08-16 15:05:56 -07:00 |
|
Erick Tryzelaar
|
4abc471390
|
Port the compiler to foo<T> decl syntax.
|
2011-08-16 15:05:56 -07:00 |
|
Erick Tryzelaar
|
e4a0f997fb
|
Port the compiler to the typaram foo<T> syntax.
|
2011-08-16 15:05:56 -07:00 |
|
Erick Tryzelaar
|
014c6922e1
|
Change expr foo[T] syntax to foo::<T>.
This preserves the old syntax for now.
|
2011-08-16 14:16:14 -07:00 |
|
Erick Tryzelaar
|
9304b7ee59
|
Change declaration type parameter syntax to foo<T>.
|
2011-08-16 14:16:14 -07:00 |
|
Erick Tryzelaar
|
0107d6a81d
|
Change type parameter syntax to foo<T>.
This preserves the old syntax for now.
|
2011-08-16 14:16:14 -07:00 |
|
Eric Holk
|
862bc521a1
|
Removing tasks, ports and chans from the compiler.
|
2011-08-16 10:59:49 -07:00 |
|
Brian Anderson
|
f05a91a0dc
|
Rename std::ivec to std::vec
|
2011-08-16 10:36:19 -07:00 |
|
Brian Anderson
|
bab29af449
|
Continue migrating the std #fmt interface to ivecs
Only thing left is to remove some duplicate interfaces in std::extfmt::rt
after the next snapshot
|
2011-08-16 10:29:09 -07:00 |
|
Brian Anderson
|
46658c4a9c
|
Revert "Revert "Make [] and ~[] both construct ivecs""
This reverts commit 28bf19021981bd41a365aaa684c71afd2cf079d7.
Should work now that tests are all using ivecs
|
2011-08-16 10:29:09 -07:00 |
|
Eric Holk
|
cf2def46c1
|
Removed trans_comm.rs from the compiler. Updating aio/sio to work with the new chan and port system, started on a networking module for the standard library.
|
2011-08-16 09:36:29 -07:00 |
|
Lindsey Kuper
|
f91351aaf6
|
The wonky for...in... whitespace was bothering me. Sorry!
|
2011-08-15 22:19:50 -07:00 |
|
Michael Sullivan
|
9e084469af
|
Pretty print lambda-blocks.
|
2011-08-15 15:48:11 -07:00 |
|
Michael Sullivan
|
9b50011aae
|
Parse type inferred lambda-block expressions.
|
2011-08-15 15:48:10 -07:00 |
|
Graydon Hoare
|
814bf41d89
|
Add operator 'copy', translates as fall-through.
|
2011-08-15 15:44:41 -07:00 |
|
Paul Stansifer
|
ac0e5ea0ef
|
Implement an untyped version of the AST, with a coversion back to the typed AST..
|
2011-08-15 15:35:28 -07:00 |
|
Paul Stansifer
|
ebb16e6a25
|
Use span stacks to track macro expansion for less troublesome error messages.
|
2011-08-15 15:35:28 -07:00 |
|
Paul Stansifer
|
c48036c0b7
|
Make spans into stacks (to store expansion backtraces).
|
2011-08-15 15:35:27 -07:00 |
|
Paul Stansifer
|
87b56b5565
|
Allow [a, b, ..., c] transcription patterns in MBE.
|
2011-08-15 15:35:27 -07:00 |
|
Paul Stansifer
|
d2f9b15052
|
Rename a field (so that macros can mention it).
|
2011-08-15 15:35:27 -07:00 |
|
Paul Stansifer
|
b803326063
|
Change node_id s when expanding, to avoid duplicates.
|
2011-08-15 15:35:27 -07:00 |
|
Paul Stansifer
|
f50a582126
|
Add a syntax extension to log syntax, for debugging macros.
|
2011-08-15 15:35:27 -07:00 |
|
Paul Stansifer
|
e7139e28f4
|
Add a layer of boxing as a hack; this code can segfault otherwise.
|
2011-08-15 15:35:27 -07:00 |
|
Paul Stansifer
|
6d39be465f
|
Add backtraces for syntax problems.
|
2011-08-15 15:35:27 -07:00 |
|
Paul Stansifer
|
5428d4ee6d
|
Check for nonconsistent macro names.
|
2011-08-15 15:35:27 -07:00 |
|
Patrick Walton
|
af61daf294
|
rustc: Parse and typecheck unique pointers
|
2011-08-15 14:38:48 -07:00 |
|
Patrick Walton
|
55c9842e7d
|
rustc: Unbreak "3 as uint < 5u"
|
2011-08-15 12:06:10 -07:00 |
|