about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-03-25Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare-18/+18
build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
2011-03-25Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare-18/+18
off src root.
2011-03-25Parse FP literals without coercing to int. This allows parsing 64-bitTim Chevalier-36/+59
floats. However, if someone writes a literal that can't be represented precisely in 64 bits, the front-end will accept it while the back-end will (presumably) complain.
2011-03-25rustc: Store cached crate metadata in the sessionPatrick Walton-35/+37
2011-03-25Update pretty printer for ports, channels, send and receiveBrian Anderson-1/+35
2011-03-25Implement local declarations with receive. Un-XFAIL decl-with-recv.rs.Brian Anderson-19/+51
2011-03-25Refactor ast.local to make room for initialization via recvBrian Anderson-17/+29
2011-03-25rustc: Create a crate metadata cachePatrick Walton-7/+25
2011-03-25make lexer unicode-aware for strings and char literalsMarijn Haverbeke-8/+7
2011-03-25Start making the standard-lib utf-8 awareMarijn Haverbeke-3/+3
Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams.
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-24Start hooking resolve into creater.Graydon Hoare-5/+38
2011-03-24rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵Patrick Walton-8/+37
XFAIL use-import-export.rs in rustc
2011-03-24Teach creader about reading ty_float, and trim trailing whitespace.Graydon Hoare-1/+2
2011-03-24rustc: Emit a better error message when a type is used where a value was ↵Patrick Walton-0/+5
expected
2011-03-23rustc: Switch over to using rustllvm.dll exclusively, ending the ↵Patrick Walton-13/+7
"Franken-LLVM" problem
2011-03-23Revert "Change the type of the second argument of upcalls to be a %task*.", ↵Graydon Hoare-13/+13
breaks win32 build. This reverts commit dcf122ede03af71d8a1d892a077a9e2435b64ef3.
2011-03-23Support for 'float' in type signatures.Lindsey Kuper-1/+11
2011-03-23rustc: Write out crate metadataPatrick Walton-6/+293
2011-03-22Further support for floating-point. Literals with exponents workTim Chevalier-22/+117
and literals with the 'f32' or 'f64' suffixes work as well. In addition, logging things with the f32 or f64 type works. (float is still assumed to be a synonym for f64).
2011-03-22Change the type of the second argument of upcalls to be a %task*.Rafael Ávila de Espíndola-13/+13
2011-03-22Support for shorter error messages that are aware of objects' cnames.Lindsey Kuper-8/+26
2011-03-22Revert "Remove usages of case(_) { fail; } since the compiler does this ↵Patrick Walton-0/+9
automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings. This reverts commit 92a716d862d92d3cc52a400457d2c3900d0c57a2.
2011-03-22Remove usages of case(_) { fail; } since the compiler does this automaticallyBrian Anderson-9/+0
2011-03-22Add a cleanup to trans_send. Express further confusion about cleanups in ↵Brian Anderson-2/+3
trans_recv
2011-03-22Remove a todo from trans_chan that doesn't appear necessaryBrian Anderson-2/+0
2011-03-22Generalize send/recv to work for more typesBrian Anderson-15/+19
2011-03-22Fix trans_recvBrian Anderson-4/+11
2011-03-22Implement trans_send and a broken trans_recvBrian Anderson-4/+42
2011-03-22Add codegen for ports and chansBrian Anderson-0/+120
2011-03-21Make floating-point operations work (neg, add, sub, mul, div, rem,Tim Chevalier-4/+51
and comparison ops.)
2011-03-21Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier-18/+80
logging of floats. Other operations on float probably don't work yet.
2011-03-21Every upcall needs a task pointer to find the C stack. It is just that whenRafael Ávila de Espíndola-46/+66
handling cdecl call they should skip it when calling the final function. There is some cleanup to be done on the generated IL, but this gets us running Hello World for real.
2011-03-21Make the wrapper function of native functions private.Rafael Ávila de Espíndola-0/+2
2011-03-21The T_taskptr is already included in the n_args, don't add it twice.Rafael Ávila de Espíndola-5/+3
2011-03-21rustc: Remove uses of Unicode in type deserialization and fix vector-push ↵Patrick Walton-37/+40
operations
2011-03-21rustc: Update type serialization and deserialization for the "mutable?" changePatrick Walton-10/+30
2011-03-21rustc: Merge in type serialization and deserializationMarijn Haverbeke-0/+277
Signed-off-by: Patrick Walton <pcwalton@mimiga.net>
2011-03-21Make lltaskptr a regular argument element in args in calls to trans_upcall2.Rafael Ávila de Espíndola-8/+8
2011-03-21Move calls to PtrToInt out of trans_upcall2.Rafael Ávila de Espíndola-3/+5
2011-03-20Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare-18/+33
item name (used in win32 build of std.dll)
2011-03-20rustc: Internalize glue. Cuts libstd size by 8% or so.Patrick Walton-1/+3
2011-03-19rustc: Only declare each native function once. std.rc now links.Patrick Walton-1/+15
2011-03-19rustc: Use the right block context to generate unary operands. std.rc ↵Patrick Walton-3/+3
compiles now. For realz.
2011-03-19rustc: Allow arguments to be captured as upvars. std.rc compiles now, except ↵Patrick Walton-3/+15
for the lack of a main fn.
2011-03-19rustc: Do argument casts before loading aggregates, not afterPatrick Walton-5/+16
2011-03-18rustc: Implement int-to-native castsPatrick Walton-0/+3
2011-03-18rustc: Make trans_path() generic-safe wrt nullary tagsPatrick Walton-1/+8
2011-03-18rustc: Make iter_structural_ty_full() generic-safe wrt tagsPatrick Walton-28/+10
2011-03-18rustc: Do pointer casts when casting native typesPatrick Walton-1/+3