about summary refs log tree commit diff
path: root/src/comp/front
AgeCommit message (Collapse)AuthorLines
2011-03-25Sketch of wiring typeck up to creader.Graydon Hoare-0/+6
2011-03-25Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare-7/+7
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-7/+7
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-21/+22
2011-03-25Update pretty printer for ports, channels, send and receiveBrian Anderson-0/+2
2011-03-25Implement local declarations with receive. Un-XFAIL decl-with-recv.rs.Brian Anderson-6/+14
2011-03-25Refactor ast.local to make room for initialization via recvBrian Anderson-4/+13
2011-03-25make lexer unicode-aware for strings and char literalsMarijn Haverbeke-7/+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-24Start hooking resolve into creater.Graydon Hoare-0/+15
2011-03-24rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵Patrick Walton-8/+36
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-23Support for 'float' in type signatures.Lindsey Kuper-0/+1
2011-03-22Further support for floating-point. Literals with exponents workTim Chevalier-7/+74
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-21Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier-13/+44
logging of floats. Other operations on float probably don't work yet.
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-5/+15
2011-03-21rustc: Merge in type serialization and deserializationMarijn Haverbeke-0/+171
Signed-off-by: Patrick Walton <pcwalton@mimiga.net>
2011-03-20Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare-3/+10
item name (used in win32 build of std.dll)
2011-03-18rustc: When encountering "mutable" as a tycon, parse it, drop it on the ↵Patrick Walton-0/+9
floor, and emit a warning
2011-03-18rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.Patrick Walton-0/+5
2011-03-17rustc: Switch mutability from being a type constructor to a field annotationPatrick Walton-48/+60
2011-03-17rustc: Typo: mutabliity -> mutabilityPatrick Walton-3/+3
2011-03-16Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare-26/+24
Tweak std lib vec fns in process.
2011-03-16Revert 6fdb81fa17b3c7147a69edc5217c9f93ff485410, it is causing failures inRafael Ávila de Espíndola-20/+3
the bots.
2011-03-15rustc: Remove the memory-managed interface to LLVM memory buffers; passing ↵Patrick Walton-1/+0
them around transfers ownership
2011-03-15rustc: Open "use"d crates with the LLVM object file readerPatrick Walton-3/+26
2011-03-15rustc: Add an annotation for the crate definition to view_item_usePatrick Walton-10/+40
2011-03-15rustc: Add a stub crate reader module for "use" directivesPatrick Walton-0/+32
2011-03-14Merge remote branch 'brson/recursive-elseif'Graydon Hoare-50/+35
2011-03-14Reorganize evaluation of expr_send/recv to put them closer to expr_assign, ↵Brian Anderson-2/+2
to which they are similar
2011-03-14Fix typo in expr_recv parsingBrian Anderson-1/+1
2011-03-14Add folding and type checking for ports and chansBrian Anderson-2/+2
2011-03-14Parse receive expressionsBrian Anderson-0/+7
2011-03-14Parse port and chan types, constructors, send statementsBrian Anderson-0/+44
2011-03-14Extend stream functionalityMarijn Haverbeke-7/+7
Writer and reader streams now come with methods to write and read little-endian numbers. Whether that is the right place for such methods is debatable, but for now, that's where they live.
2011-03-14Add basic file-system functionalityMarijn Haverbeke-3/+3
std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.
2011-03-13Merge branch 'master' into recursive-elseifBrian Anderson-134/+71
Conflicts: src/comp/middle/typeck.rs
2011-03-11Preserve crate directives in the parsed crate.Graydon Hoare-7/+7
2011-03-11reindex the block index.Rafael Ávila de Espíndola-35/+39
2011-03-11Add support for indexing tags in blocks.Rafael Ávila de Espíndola-11/+21
2011-03-10Handle resolving to native modules.Rafael Ávila de Espíndola-0/+1
2011-03-10rustc: Build up a list of upvars inside foreach bodiesPatrick Walton-0/+1
2011-03-10Update the current id when we create sub parsers.Rafael Ávila de Espíndola-5/+13
2011-03-10Fix eval typo (caught by Martin Hock).Graydon Hoare-1/+1
2011-03-08rustc: Add a slot for explicit type parameter instantations to the ↵Patrick Walton-1/+1
typechecker's AST annotation
2011-03-07Remove old pretty-printer from rustcBrian Anderson-87/+0
2011-03-07Merge branch 'master' into recursive-elseifBrian Anderson-333/+1998
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-07Parse opacity (and drop on the floor), so std.rc parses now.Graydon Hoare-0/+21