aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Fix eval typo (caught by Martin Hock).Graydon Hoare2011-03-101-1/+1
| | |
* | | rustc: Add a slot for explicit type parameter instantations to the ↵Patrick Walton2011-03-081-1/+1
| | | | | | | | | | | | typechecker's AST annotation
* | | Remove old pretty-printer from rustcBrian Anderson2011-03-071-87/+0
| |/ |/|
* | Parse opacity (and drop on the floor), so std.rc parses now.Graydon Hoare2011-03-072-0/+21
| |
* | Add a pretty-printerMarijn Haverbeke2011-03-073-0/+39
| | | | | | | | | | 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-072-5/+42
| |
* | 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-062-25/+10
| |
* | Make ret and fail stmts have 0 out-edges, Closes #250.Graydon Hoare2011-03-051-4/+1
| |
* | Parse (and generally ignore) constraints and constrained types.Graydon Hoare2011-03-042-1/+76
| |
* | Parse meta directives in crates.Graydon Hoare2011-03-042-15/+22
| |
* | Remove some erroneous FIXMEs from #fmt parserBrian Anderson2011-03-021-2/+0
| |
* | Comment-out some logging chatter in extfmt.Graydon Hoare2011-03-021-6/+6
| |
* | Parse, add to AST, and otherwise ignore 'export' view items. Need to add ↵Graydon Hoare2011-03-022-11/+34
| | | | | | | | support to resolve.
* | Finish #fmt string parsing. Completely untested.Brian Anderson2011-03-021-7/+89
| |
* | Add debug logging for #fmt conv. Implement peek_num fnBrian Anderson2011-03-021-21/+123
| |
* | Whitespace cleanupBrian Anderson2011-03-022-6/+6
| |
* | Remove unused is_ext_exprBrian Anderson2011-03-021-11/+0
| |
* | Make the expanded expression in expr_ext not optionalBrian Anderson2011-03-022-2/+2
| |
* | Add pretty printing for expr_call, expr_path, and more literalsBrian Anderson2011-03-021-3/+37
| |
* | Remove debug logging from extfmtBrian Anderson2011-03-021-13/+0
| |
* | Implement #fmt conversion for int and uintBrian Anderson2011-03-021-8/+107
| |
* | Start generating AST nodes for #fmtBrian Anderson2011-03-021-8/+34
| |
* | Begin an AST pretty-printerBrian Anderson2011-03-021-0/+51
| |
* | Rewrite expand_syntax_ext to avoid a mysterious memory leakBrian Anderson2011-03-021-21/+18
| |
* | Parse parameter types for fmt extensionBrian Anderson2011-03-021-28/+120
| |
* | Begin work on #fmt parsingBrian Anderson2011-03-022-3/+98
| |
* | Begin implementing #fmt in rustcBrian Anderson2011-03-023-2/+130
| |
* | Parse (and ignore) dtors on objs.Graydon Hoare2011-03-012-10/+23
| |