aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add std.dbg module for inspecting rust values in memory.Roy Frostig2010-08-243-0/+145
|
* First successful hashmap lookups. Yay.Graydon Hoare2010-08-241-0/+4
|
* Fix mod-bug in std.map, work around bug in closure typaram capture, enable ↵Graydon Hoare2010-08-242-7/+13
| | | | insert-tests in lib-map.rs.
* Fix residual nonsense of storing crate-rel displacements in a closure pair ↵Graydon Hoare2010-08-241-12/+4
| | | | (made it impossible to pass between crates, of course).
* Remove obsolete TODO about checking for return statementsPatrick Walton2010-08-241-2/+0
|
* Elide preempt check on thunk and ctor frames. Wins 8kb on rustc.Graydon Hoare2010-08-241-6/+11
|
* Avoid emitting unnecessary frame glue. Wins a couple hundred kb of rustc.Graydon Hoare2010-08-241-33/+74
|
* Avoid iterating ty parts on drop when there are no heap pointers in ty. Wins ↵Graydon Hoare2010-08-242-5/+31
| | | | several tens of kb on rustc.
* Shrink size of glue calls. Wins a few tens of kb on rustc.Graydon Hoare2010-08-241-6/+2
|
* Add lexer.reader to rustc for tracking position, char conversion, holding ↵Graydon Hoare2010-08-241-0/+89
| | | | keyword tables.
* Make _str.eq suitable for map.hashmap; add _str.hash that does simple djb-hash.Graydon Hoare2010-08-241-1/+12
|
* Make error reporting slightly more regular.Graydon Hoare2010-08-242-3/+4
|
* Rename lib tests, enable lib-int.rs using _str.eq for now.Graydon Hoare2010-08-246-20/+19
|
* Add very basic char / str literal handling to rustc lexer.Graydon Hoare2010-08-241-0/+56
|
* Tidy lexer.Graydon Hoare2010-08-241-15/+23
|
* Handle line-comments and a few more symbols in rustc lexer.Graydon Hoare2010-08-231-4/+81
|
* Merge remote branch 'tohava/master'Graydon Hoare2010-08-237-70/+166
|\ | | | | | | | | Conflicts: src/boot/fe/ast.ml
| * Modified parser to handle alt type andadded a few testsOr Brostovski2010-08-217-66/+166
| | | | | | | | | | | | | | | | | | | | | | | | ast.ml - modified arm types for easier polymorphism - fixed a bug in fmt_type_arm dead.ml - modified arm types for easier polymorphism common.ml - added 'either' - added some useful auxiliary functions item.ml - modified arm code to be more polymorphic and handle both alt-tag and alt-type, also fixed the problematic case in bad-alt.rs Makefile - added XFAIL for new alt-type test bad-alt.rs - added test for invalid alt syntax alt-type-simple.rs - added simple test for alt type
| * Merge branch 'master' of git://github.com/graydon/rustOr Brostovski2010-08-0721-147/+410
| |\ | | | | | | | | | | | | Conflicts: src/boot/fe/ast.ml
* | | Warn when the value of "spawn" is unused, as it's uselessPatrick Walton2010-08-201-1/+5
| | |
* | | Stringify op tokens.Graydon Hoare2010-08-201-2/+29
| | |
* | | Redo _uint.to_str to work with chars and only one tmp str, built left-to-right.Graydon Hoare2010-08-201-19/+37
| | |
* | | Accumulate number tokens properly, handle newline, EQ and EQEQ in rustc lexer.Graydon Hoare2010-08-201-17/+28
| | |
* | | Lex commas too in the self-hosted compilerPatrick Walton2010-08-201-0/+1
| | |
* | | Use pattern matching for the one-byte structural symbols in the self-hosted ↵Patrick Walton2010-08-201-10/+12
| | | | | | | | | | | | compiler
* | | XFAIL _io test because darwin and winnt are burning.Roy Frostig2010-08-201-0/+1
| | |
* | | Test the buffered reader and writer in _io.Roy Frostig2010-08-203-4/+61
| | |
* | | Allow every test to make a .tmp file that is cleaned up before execution.Roy Frostig2010-08-202-6/+30
| | |
* | | Fix some lexer bugs in rustc. Beginning to lex stuff now.Graydon Hoare2010-08-201-3/+7
| | |
* | | Add ungetc and re-indent _io.rs.Graydon Hoare2010-08-204-95/+102
| | |
* | | Re-XFAIL destructor-ordering.rs. Valgrind doesn't like it (though oddly, ↵Graydon Hoare2010-08-201-0/+1
| | | | | | | | | | | | doesn't make the tbox burn).
* | | Expand rustc lexer to do almost-nearly-nontrivial stuff.Graydon Hoare2010-08-204-4/+201
| | |
* | | Add _uint module to std, move some code around.Graydon Hoare2010-08-206-60/+75
| | |
* | | Modify session to report errors in an emacs-parser-friendlier way.Graydon Hoare2010-08-201-2/+2
| | |
* | | Un-XFAIL some tests that (seem to) rely on large task stacksPatrick Walton2010-08-201-3/+0
| | |
* | | Disable task-growing logic for now until #151 is fixedPatrick Walton2010-08-201-1/+10
| | |
* | | Use str += u8 in rustc lexer.Graydon Hoare2010-08-201-0/+4
| | |
* | | Support single-element append on vec, str. Closes #44.Graydon Hoare2010-08-204-8/+90
| | |
* | | Add some code to lexer in rustc.Graydon Hoare2010-08-191-2/+35
| | |
* | | Fix a bunch of typestate bugs in handling if and while statement wirings.Graydon Hoare2010-08-195-19/+51
| | |
* | | Make _io.buf_reader read more than 0 bytes at a time.Roy Frostig2010-08-193-9/+46
| | |
* | | Export all item code to stabs on Windows (including e.g. object methods)Patrick Walton2010-08-191-3/+5
| | |
* | | Export glue as stabs on Windows as wellPatrick Walton2010-08-191-5/+13
| | |
* | | Add some mangled stabs to help debugging on WindowsPatrick Walton2010-08-191-2/+18
| | |
* | | Use "/usr/bin/env python" per the prevailing stylePatrick Walton2010-08-192-2/+2
| | |
* | | Don't complain about \r when core.autocrlf is on in Git... and work in ↵Patrick Walton2010-08-181-4/+13
| | | | | | | | | | | | Python 2.4, 2.6, and 3.x.
* | | Revert "Don't complain about \r when core.autocrlf is on in Git"Patrick Walton2010-08-181-9/+3
| | | | | | | | | | | | This reverts commit 828afaa2fa4cc9e3e53bda0ae3073abfcfa151ca.
* | | Simplify lexer/parser structure to use stdio_reader.Graydon Hoare2010-08-184-32/+35
| | |
* | | Add stdio_reader to io, just use FILE* values for now. We have things to do.Graydon Hoare2010-08-184-1/+46
| | |
* | | Don't complain about \r when core.autocrlf is on in Git (now working with ↵Patrick Walton2010-08-181-3/+9
| | | | | | | | | | | | Python 2.6).