aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/parser.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Support break and cont in pretty-printerMarijn Haverbeke2011-03-311-0/+2
|
* Add effect field to ast.ty_fn.Marijn Haverbeke2011-03-311-12/+11
| | | | Still not used, except by the pretty-printer.
* Preserve comments when pretty-printing.Marijn Haverbeke2011-03-311-1/+3
| | | | | The patch also includes a number of smaller fixes to the pretty-printer that were encountered on the way.
* rustc: Thread an item-to-type mapping throughout the typechecking and ↵Patrick Walton2011-03-301-2/+2
| | | | translation phases
* Beginnings of support for magical self prefix; nothing profound happening yet.Lindsey Kuper2011-03-291-0/+15
|
* Ignore 'mutable foo' in plain field contexts.Graydon Hoare2011-03-291-0/+6
|
* Add expr_spawn, spawn parsing, folding, typechecking, ty_taskBrian Anderson2011-03-281-0/+24
|
* rustc: Add support for calling LLVM intrinsics as native functionsPatrick Walton2011-03-281-0/+2
|
* Add support for break and cont to rustcMarijn Haverbeke2011-03-271-0/+10
| | | | | Testing proper cleanup is hampered by https://github.com/graydon/rust/issues/293
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-251-1/+1
|
* Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare2011-03-251-1/+1
| | | | | | 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-251-1/+1
| | | | off src root.
* rustc: Store cached crate metadata in the sessionPatrick Walton2011-03-251-1/+1
|
* 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-251-3/+4
|
* Support for 'float' in type signatures.Lindsey Kuper2011-03-231-0/+1
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-221-0/+4
| | | | | | 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-211-0/+4
| | | | logging of floats. Other operations on float probably don't work yet.
* Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare2011-03-201-1/+7
| | | | 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-181-0/+4
|
* rustc: Switch mutability from being a type constructor to a field annotationPatrick Walton2011-03-171-40/+54
|
* 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-161-11/+9
| | | | Tweak std lib vec fns in process.
* rustc: Add an annotation for the crate definition to view_item_usePatrick Walton2011-03-151-1/+2
|
* Merge remote branch 'brson/recursive-elseif'Graydon Hoare2011-03-141-31/+23
|\
| * Merge branch 'master' into recursive-elseifBrian Anderson2011-03-131-41/+15
| |\ | | | | | | | | | | | | | | | Conflicts: src/comp/middle/typeck.rs
| * \ Merge branch 'master' into recursive-elseifBrian Anderson2011-03-071-314/+738
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-011-10/+9
| | | |
| * | | Teach rustc to parse 'else if'Brian Anderson2011-01-301-2/+16
| | | |
* | | | Fix typo in expr_recv parsingBrian Anderson2011-03-141-1/+1
| | | |
* | | | Parse receive expressionsBrian Anderson2011-03-141-0/+6
| | | |
* | | | Parse port and chan types, constructors, send statementsBrian Anderson2011-03-141-0/+39
| | | |
* | | | Extend stream functionalityMarijn Haverbeke2011-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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-141-1/+1
| |_|/ |/| | | | | | | | | | | 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-111-6/+5
| | |
* | | reindex the block index.Rafael Ávila de Espíndola2011-03-111-35/+1
| | |
* | | Add support for indexing tags in blocks.Rafael Ávila de Espíndola2011-03-111-10/+14
| | |
* | | Update the current id when we create sub parsers.Rafael Ávila de Espíndola2011-03-101-3/+8
| |/ |/|
* | Parse opacity (and drop on the floor), so std.rc parses now.Graydon Hoare2011-03-071-0/+16
| |
* | Add a pretty-printerMarijn Haverbeke2011-03-071-0/+1
| | | | | | | | | | Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.
* | Permit view items in native modules.Graydon Hoare2011-03-071-2/+20
| |
* | Stage the last compile fix to put out fire. Thanks git.Graydon Hoare2011-03-071-0/+1
| |
* | Complain on unexpected native symbol, rather than failing with ↵Graydon Hoare2011-03-071-0/+3
| | | | | | | | none-exhaustive match.
* | use a precedence table for operator parsingMarijn Haverbeke2011-03-071-131/+65
| |
* | Remove typestate workaroundsBrian Anderson2011-03-061-10/+8
| |
* | Parse (and generally ignore) constraints and constrained types.Graydon Hoare2011-03-041-1/+67
| |
* | Parse meta directives in crates.Graydon Hoare2011-03-041-14/+21
| |
* | Parse, add to AST, and otherwise ignore 'export' view items. Need to add ↵Graydon Hoare2011-03-021-11/+28
| | | | | | | | support to resolve.