about summary refs log tree commit diff
path: root/src/comp/pretty
AgeCommit message (Collapse)AuthorLines
2011-03-31More stuff to go with the new expr_call_self AST nodeLindsey Kuper-0/+7
2011-03-31Improve line comment positioningMarijn Haverbeke-27/+64
This involved making ast.variant spanned.
2011-03-31Support break and cont in pretty-printerMarijn Haverbeke-0/+6
2011-03-31Add effect field to ast.ty_fn.Marijn Haverbeke-4/+9
Still not used, except by the pretty-printer.
2011-03-31Preserve comments when pretty-printing.Marijn Haverbeke-786/+976
The patch also includes a number of smaller fixes to the pretty-printer that were encountered on the way.
2011-03-25Update pretty printer for ports, channels, send and receiveBrian Anderson-1/+33
2011-03-25Refactor ast.local to make room for initialization via recvBrian Anderson-2/+2
2011-03-25make lexer unicode-aware for strings and char literalsMarijn Haverbeke-1/+0
2011-03-25fix pretty-printerMarijn Haverbeke-6/+10
A change in 54587bdccb7b6771cfc704a30fc0ef2c65824a15 (the vec appending overhaul) had broken it. (Apparently modifying a vec while iterating over it can corrupt memory.)
2011-03-21Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier-0/+3
logging of floats. Other operations on float probably don't work yet.
2011-03-20Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare-1/+5
item name (used in win32 build of std.dll)
2011-03-18rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.Patrick Walton-2/+4
2011-03-17rustc: Switch mutability from being a type constructor to a field annotationPatrick Walton-25/+30
2011-03-16Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare-7/+9
Tweak std lib vec fns in process.
2011-03-15rustc: Add an annotation for the crate definition to view_item_usePatrick Walton-1/+1
2011-03-14Merge remote branch 'brson/recursive-elseif'Graydon Hoare-18/+10
2011-03-14Make pretty-printer print 'with' clause in rec literalsMarijn Haverbeke-1/+11
2011-03-13Merge branch 'master' into recursive-elseifBrian Anderson-34/+84
Conflicts: src/comp/middle/typeck.rs
2011-03-09Add ty_obj case to pretty printerMarijn Haverbeke-16/+37
2011-03-09Have the pretty-printer take a writer stream as argumentMarijn Haverbeke-17/+36
It now uses a string writer to also fill in for middle.ty.ast_ty_to_str
2011-03-07Add partial pretty-printing for syntax extensionsBrian Anderson-1/+10
2011-03-07Add missing alt arm to expr_if pretty-printerBrian Anderson-0/+1
2011-03-07Merge branch 'master' into recursive-elseifBrian Anderson-0/+915
Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs
2011-03-07Add a pretty-printerMarijn Haverbeke-0/+923
Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.