aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
Commit message (Collapse)AuthorAgeFilesLines
* rustc: Look up names in "use"d cratesPatrick Walton2011-03-251-5/+119
|
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-257-7/+7
|
* Sketch of wiring typeck up to creader.Graydon Hoare2011-03-251-0/+6
|
* Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare2011-03-257-7/+7
| | | | | | build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
* Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare2011-03-257-7/+7
| | | | off src root.
* Parse FP literals without coercing to int. This allows parsing 64-bitTim Chevalier2011-03-251-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.
* rustc: Store cached crate metadata in the sessionPatrick Walton2011-03-253-21/+22
|
* Update pretty printer for ports, channels, send and receiveBrian Anderson2011-03-251-0/+2
|
* Implement local declarations with receive. Un-XFAIL decl-with-recv.rs.Brian Anderson2011-03-251-6/+14
|
* Refactor ast.local to make room for initialization via recvBrian Anderson2011-03-252-4/+13
|
* make lexer unicode-aware for strings and char literalsMarijn Haverbeke2011-03-252-7/+7
|
* Start making the standard-lib utf-8 awareMarijn Haverbeke2011-03-251-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.
* Start hooking resolve into creater.Graydon Hoare2011-03-241-0/+15
|
* rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵Patrick Walton2011-03-242-8/+36
| | | | XFAIL use-import-export.rs in rustc
* Teach creader about reading ty_float, and trim trailing whitespace.Graydon Hoare2011-03-241-1/+2
|
* Support for 'float' in type signatures.Lindsey Kuper2011-03-231-0/+1
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-224-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).
* Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier2011-03-214-13/+44
| | | | logging of floats. Other operations on float probably don't work yet.
* rustc: Remove uses of Unicode in type deserialization and fix vector-push ↵Patrick Walton2011-03-211-37/+40
| | | | operations
* rustc: Update type serialization and deserialization for the "mutable?" changePatrick Walton2011-03-211-5/+15
|
* rustc: Merge in type serialization and deserializationMarijn Haverbeke2011-03-211-0/+171
| | | | Signed-off-by: Patrick Walton <[email protected]>
* Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare2011-03-202-3/+10
| | | | item name (used in win32 build of std.dll)
* rustc: When encountering "mutable" as a tycon, parse it, drop it on the ↵Patrick Walton2011-03-181-0/+9
| | | | floor, and emit a warning
* rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.Patrick Walton2011-03-182-0/+5
|
* rustc: Switch mutability from being a type constructor to a field annotationPatrick Walton2011-03-172-48/+60
|
* rustc: Typo: mutabliity -> mutabilityPatrick Walton2011-03-171-3/+3
|
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-165-26/+24
| | | | Tweak std lib vec fns in process.
* Revert 6fdb81fa17b3c7147a69edc5217c9f93ff485410, it is causing failures inRafael Ávila de Espíndola2011-03-161-20/+3
| | | | the bots.
* rustc: Remove the memory-managed interface to LLVM memory buffers; passing ↵Patrick Walton2011-03-151-1/+0
| | | | them around transfers ownership
* rustc: Open "use"d crates with the LLVM object file readerPatrick Walton2011-03-151-3/+26
|
* rustc: Add an annotation for the crate definition to view_item_usePatrick Walton2011-03-153-10/+40
|
* rustc: Add a stub crate reader module for "use" directivesPatrick Walton2011-03-152-0/+32
|
* Merge remote branch 'brson/recursive-elseif'Graydon Hoare2011-03-143-50/+35
|\
| * Merge branch 'master' into recursive-elseifBrian Anderson2011-03-134-134/+71
| |\ | | | | | | | | | | | | | | | Conflicts: src/comp/middle/typeck.rs
| * \ Merge branch 'master' into recursive-elseifBrian Anderson2011-03-076-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
| * | | Allow the else part of an expr_if to be either expr_if or expr_blockBrian Anderson2011-02-012-11/+10
| | | |
| * | | Teach rustc to parse 'else if'Brian Anderson2011-01-301-2/+16
| | | |
* | | | Reorganize evaluation of expr_send/recv to put them closer to expr_assign, ↵Brian Anderson2011-03-141-2/+2
| | | | | | | | | | | | | | | | to which they are similar
* | | | Fix typo in expr_recv parsingBrian Anderson2011-03-141-1/+1
| | | |
* | | | Add folding and type checking for ports and chansBrian Anderson2011-03-141-2/+2
| | | |
* | | | Parse receive expressionsBrian Anderson2011-03-142-0/+7
| | | |
* | | | Parse port and chan types, constructors, send statementsBrian Anderson2011-03-142-0/+44
| | | |
* | | | Extend stream functionalityMarijn Haverbeke2011-03-142-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.
* | | | Add basic file-system functionalityMarijn Haverbeke2011-03-142-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.
* | | Preserve crate directives in the parsed crate.Graydon Hoare2011-03-112-7/+7
| | |
* | | reindex the block index.Rafael Ávila de Espíndola2011-03-112-35/+39
| | |
* | | Add support for indexing tags in blocks.Rafael Ávila de Espíndola2011-03-112-11/+21
| | |
* | | Handle resolving to native modules.Rafael Ávila de Espíndola2011-03-101-0/+1
| | |
* | | rustc: Build up a list of upvars inside foreach bodiesPatrick Walton2011-03-101-0/+1
| | |
* | | Update the current id when we create sub parsers.Rafael Ávila de Espíndola2011-03-102-5/+13
| | |