about summary refs log tree commit diff
path: root/src/boot
AgeCommit message (Collapse)AuthorLines
2010-08-21Modified parser to handle alt type andadded a few testsOr Brostovski-66/+148
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
2010-08-20Modify session to report errors in an emacs-parser-friendlier way.Graydon Hoare-2/+2
2010-08-20Support single-element append on vec, str. Closes #44.Graydon Hoare-8/+74
2010-08-19Fix a bunch of typestate bugs in handling if and while statement wirings.Graydon Hoare-19/+46
2010-08-19Export all item code to stabs on Windows (including e.g. object methods)Patrick Walton-3/+5
2010-08-19Export glue as stabs on Windows as wellPatrick Walton-5/+13
2010-08-19Add some mangled stabs to help debugging on WindowsPatrick Walton-2/+18
2010-08-18Add support for casting native types.Graydon Hoare-7/+10
2010-08-17Add support for a reserved-words list and reserve the various ↵Graydon Hoare-15/+72
not-supported-but-plausible IEEE datatypes.
2010-08-16Absent any deep overhauls to syntax or constant-handling, hack in the ↵Graydon Hoare-19/+43
ability to project a cexp var binding to a token in the parser. Use it in comp/rustc.rc and comp/lib/llvm.rs.
2010-08-13Evil solution to the problem of importing the same opaque from two different ↵Patrick Walton-1/+1
files. Closes #145.
2010-08-12Zero LMA/VMA of debug sections in elf. Closes #148.Graydon Hoare-105/+42
2010-08-12Fix max_sz bug that ended up causing us to index incorrectly into a vec of ↵Roy Frostig-1/+1
tag types. Add a testcase.
2010-08-12Kill old parser support for type-parametric modules. We don't support those.Graydon Hoare-2/+2
2010-08-11Some ELF correctness issues, but apparently none enough to placate gdb.Graydon Hoare-25/+50
2010-08-11Increment ref counts of objects sent along channels.Michael Bebenita-2/+11
2010-08-11Change dwarf output on linux to switch from relative to absolute addresses ↵Graydon Hoare-7/+1
based on library-mode-ness, might help fight ASLR-induced confusion.
2010-08-10Put out burning tinderbox on OSX.Graydon Hoare-8/+19
2010-08-10Always bounce mul/div/mod ops. Closes #131 harder.Graydon Hoare-24/+7
2010-08-10Merge commit 'tohava/master'Graydon Hoare-20/+56
Conflicts: src/boot/fe/ast.ml
2010-08-10Merge commit 'jyasskin/work'Graydon Hoare-18/+41
Conflicts: src/rt/rust_dom.cpp src/rt/rust_upcall.cpp
2010-08-09Get object's captured typarams when querying for an object method's typarams ↵Roy Frostig-33/+61
in Trans. Together with commit 982dcc29bf6cd41e967a0befe0c6195811cd6a55 this... Closes #138.
2010-08-09Get object's captured typarams when calculating sizes in the backend's ↵Roy Frostig-80/+139
fn-prologue-generation for object methods.
2010-08-09Synthesize a flush_chan upcall right before a channel's ref_count drops to ↵Michael Bebenita-0/+20
zero. This should only happen in the Rust code and not in the drop glue, or on the unwind path. This change allows the task owning the channel to block on a flush and delete its own channel. This change also cleans up some code around rust_port and rust_chan.
2010-08-09Changed seemingly incorrect stk_field_valgrind_id.Michael Bebenita-1/+1
2010-08-09Add names to tasks and domains. These can either be an explicit literal stringJeffrey Yasskin-18/+41
after the "spawn" keyword, or implicitly the call expression used to start the spawn.
2010-08-07Merge branch 'master' of git://github.com/graydon/rustOr Brostovski-78/+149
Conflicts: src/boot/fe/ast.ml
2010-08-07Added AST pretty printing for communication alt statement, closes issue 19.Or Brostovski-4/+38
2010-08-06Added forgotten handling for alt_type_else, and also for stmt_noteOr Brostovski-10/+26
2010-08-06Added AST pretty printing for slice expressionOr Brostovski-1/+28
2010-08-06Added AST logging, and modified AST for consistent handling of alt stmts.Or Brostovski-19/+59
- Modified the arm types, instead of a single arm type, there are now 2 (soon to be 3) arm types, one for each type of alt statement - Added AST logging for constrained type (see fmt_constrained) - Added AST logging for STMT_alt_type - Created a generic fmt_arm for use with all alt statements
2010-08-06Fix LLVM translation of modules.Jeffrey Yasskin-10/+29
2010-08-06Accept uint literals as literal patterns.Roy Frostig-1/+4
2010-08-06Added forgotten handling for alt_type_else, and also for stmt_noteTohava-10/+26
2010-08-06Added AST pretty printing for slice expressionTohava-1/+28
2010-08-05Degrade emitter size cache to just a flat hashtable with regular flushes ↵Graydon Hoare-33/+73
(sigh) and re-introduce horrible bounce-off-spill hack for DIV, MUL, etc.
2010-08-05Something is wrong with the emitter size cache; disable for now, possibly ↵Graydon Hoare-1/+3
put out flaming tinderboxes.
2010-08-05Move 'as' precedence up to just above relational; support indexing str and ↵Graydon Hoare-37/+44
vec by all integral types. Closes #94.
2010-08-05Merge branch 'master' of git://github.com/graydon/rustTohava-45/+102
2010-08-04Thread argument-types down to internal_check_outer_lval in type.ml, in ↵Graydon Hoare-9/+16
preparation for trying to infer type params from call args.
2010-08-05Added AST logging, and modified AST for consistent handling of alt stmts.Tohava-19/+59
- Modified the arm types, instead of a single arm type, there are now 2 (soon to be 3) arm types, one for each type of alt statement - Added AST logging for constrained type (see fmt_constrained) - Added AST logging for STMT_alt_type - Created a generic fmt_arm for use with all alt statements
2010-08-04Fix pexp parser to do left-associativity, not right. Closes #130.Graydon Hoare-36/+86
2010-08-04Kill the preallocator, install a sane replacement. Closes #131. And probably ↵Graydon Hoare-263/+116
a lot of others.
2010-08-03Factor append_quad out of IL.emit_full, for use elsewhere.Graydon Hoare-4/+12
2010-08-03Remove dead implicit-destinations logic from IL.Graydon Hoare-20/+11
2010-08-03Avoid mem cmp mem in trans even though it's an X86ism becase we don't always ↵Roy Frostig-1/+11
catch it later on.
2010-08-03Fix some naughtiness of handling newlines in bracequotes and multi-line ↵Graydon Hoare-7/+13
comments. Closes #142.
2010-08-03Add tests and fix pexp bug. Closes #141.Graydon Hoare-1/+1
2010-08-02Use a better heuristic to determine whether we're on a Mac, issue 69Patrick Walton-5/+3
2010-07-30Patch up another place where the newly-expanded 'closure-ptr' implicit arg ↵Graydon Hoare-1/+2
needs to be passed. Amazingly, it mostly-worked without this. On some platforms.