aboutsummaryrefslogtreecommitdiff
path: root/src/comp/pretty/pprust.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add block_to_str and expr_to_str methods to the pprust module.Brian Anderson2011-03-311-0/+18
| | | | Since pprust is authed impure these can be used for debug logging.
* rustc: Add a type annotation to tag itemsPatrick Walton2011-03-311-1/+1
|
* More stuff to go with the new expr_call_self AST nodeLindsey Kuper2011-03-311-0/+7
|
* Improve line comment positioningMarijn Haverbeke2011-03-311-27/+64
| | | | This involved making ast.variant spanned.
* Support break and cont in pretty-printerMarijn Haverbeke2011-03-311-0/+6
|
* Add effect field to ast.ty_fn.Marijn Haverbeke2011-03-311-4/+9
| | | | Still not used, except by the pretty-printer.
* Preserve comments when pretty-printing.Marijn Haverbeke2011-03-311-696/+845
| | | | | The patch also includes a number of smaller fixes to the pretty-printer that were encountered on the way.
* Update pretty printer for ports, channels, send and receiveBrian Anderson2011-03-251-1/+33
|
* Refactor ast.local to make room for initialization via recvBrian Anderson2011-03-251-2/+2
|
* make lexer unicode-aware for strings and char literalsMarijn Haverbeke2011-03-251-1/+0
|
* Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier2011-03-211-0/+3
| | | | logging of floats. Other operations on float probably don't work yet.
* Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare2011-03-201-1/+5
| | | | item name (used in win32 build of std.dll)
* rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.Patrick Walton2011-03-181-2/+4
|
* rustc: Switch mutability from being a type constructor to a field annotationPatrick Walton2011-03-171-25/+30
|
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-161-1/+1
| | | | Tweak std lib vec fns in process.
* rustc: Add an annotation for the crate definition to view_item_usePatrick Walton2011-03-151-1/+1
|
* Merge remote branch 'brson/recursive-elseif'Graydon Hoare2011-03-141-18/+10
|\
| * Merge branch 'master' into recursive-elseifBrian Anderson2011-03-131-19/+56
| |\ | | | | | | | | | | | | | | | Conflicts: src/comp/middle/typeck.rs
| * | Merge branch 'master' into recursive-elseifBrian Anderson2011-03-071-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs
* | | Make pretty-printer print 'with' clause in rec literalsMarijn Haverbeke2011-03-141-1/+11
| |/ |/|
* | Add ty_obj case to pretty printerMarijn Haverbeke2011-03-091-16/+37
| |
* | Have the pretty-printer take a writer stream as argumentMarijn Haverbeke2011-03-091-2/+8
| | | | | | | | | | It now uses a string writer to also fill in for middle.ty.ast_ty_to_str
* | Add partial pretty-printing for syntax extensionsBrian Anderson2011-03-071-1/+10
| |
* | Add missing alt arm to expr_if pretty-printerBrian Anderson2011-03-071-0/+1
|/
* Add a pretty-printerMarijn Haverbeke2011-03-071-0/+716
Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.