about summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Collapse)AuthorLines
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-10/+12
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-32/+35
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-1/+4
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
2012-07-03Remove rule requiring non-nil block-style statements to be semi-terminatedBrian Anderson-4/+1
This is a subtle rule that no longer seems to be required.
2012-07-03More work on #2082, remove parser/lexer support for 'crust' and 'native'.Graydon Hoare-11/+4
2012-07-03Remove some bogus exports.Michael Sullivan-2/+0
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-4/+8
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-42/+243
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01syntax: Support dropping argument list from for/doBrian Anderson-8/+34
2012-07-01syntax: Stop parsing old closure syntaxBrian Anderson-26/+10
2012-07-01Convert to new closure syntaxBrian Anderson-47/+47
2012-06-30syntax: Fix lambda parsing following 'ret'Brian Anderson-0/+2
2012-06-30syntax: Add support for new lambda syntaxBrian Anderson-9/+61
2012-06-30Remove old sugared call syntaxBrian Anderson-28/+19
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-5/+5
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-42/+243
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-150/+150
2012-06-28Parse ~[...] as [...]/~. Same for @ and &. Closes #2747.Michael Sullivan-7/+38
2012-06-27Replace more vector + (issue #2719)Eric Holk-27/+38
2012-06-27More keyword paring and migration in runtime, docs, code modes.Graydon Hoare-1/+1
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-18/+26
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-30/+30
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-184/+194
2012-06-25Make it possible to make built-in tt syntax extensionsPaul Stansifer-2/+11
2012-06-25parsing for the macro systemPaul Stansifer-29/+113
2012-06-25MergeTim Chevalier-24/+8
2012-06-24Long linesBrian Anderson-1/+2
2012-06-24syntax: Merge parse_for_expr, parse_do_exprBrian Anderson-22/+6
2012-06-24Remove resourcesTim Chevalier-27/+1
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-22Remove 'implements' keyword in favour of :, part of #2301.Graydon Hoare-2/+1
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-17/+17
2012-06-21Fixed another performance issueEric Holk-1/+1
2012-06-21Move vector addition out of trans and into libcore.Eric Holk-2/+2
2012-06-21Issue #2657: track mutability of bindings, also prevent move from bindingsNiko Matsakis-1/+1
2012-06-20Remove bind. Issue #2189Brian Anderson-25/+3
2012-06-18Add 'do' expressionsBrian Anderson-1/+20
2012-06-15Lexers now emit spans, not chposes.Paul Stansifer-47/+61
2012-06-15Beginning of support for interpolation into token trees.Paul Stansifer-1/+17
2012-06-15Make token tree lexers and their stacks unique.Paul Stansifer-37/+50
2012-06-15Make tt lexers duplicatible.Paul Stansifer-1/+17
2012-06-15Bugfix: obey the tt_lexer's own invariants.Paul Stansifer-4/+4
2012-06-15Make it possible to make tt_reader-based parsers.Paul Stansifer-19/+33
2012-06-15Make token trees re-lexable.Paul Stansifer-2/+66
2012-06-15Formatting fixup in parser.rsPaul Stansifer-45/+46
2012-06-15Pull out an interface for the lexer.Paul Stansifer-207/+231
2012-06-15Make token trees parseable.Paul Stansifer-5/+65
2012-06-14Further work on integer literal suffix inference (#1425)Lindsey Kuper-10/+10
In this commit: * Change the lit_int_unsuffixed AST node to not carry a type, since it doesn't need one * Don't print "(unsuffixed)" when pretty-printing unsuffixed integer literals * Just print "I" instead of "(integral)" for integral type variables * Set up trans to use the information that will be gathered during typeck to construct the appropriate constants for unsuffixed int literals * Add logic for handling int_ty_sets in typeck::infer * Clean up unnecessary code in typeck::infer * Add missing mk_ functions to middle::ty * Add ty_var_integral to a few of the type utility functions it was missing from in middle::ty
2012-06-14Remove code from parser that was awaiting snapshotTim Chevalier-61/+1
Remove old parser functions as well as support for old-style capture clauses. Remove remaining old-style capture clauses.
2012-06-13Allow trailing commas in import lists. Closes #2582.Lindsey Kuper-1/+1
2012-06-13Box AST identsBrian Anderson-25/+25