about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
AgeCommit message (Collapse)AuthorLines
2012-07-31rustc: Implement unary move. Closes #917.Patrick Walton-1/+1
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-2/+2
2012-07-31Now you can use whatever delimiter you want to invoke syntax extensions.Paul Stansifer-0/+15
2012-07-31Avoid accidentally printing floating point numbers as `10.f`.Paul Stansifer-1/+7
2012-07-30Impl-ize interner.Paul Stansifer-13/+5
2012-07-30syntax: Fix semicolon printing. Closes #3036Brian Anderson-1/+1
2012-07-27Make macro-system type and constructor names more uniform; more comments.Graydon Hoare-21/+23
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-2/+5
2012-07-16introduce an owned kind for data that contains no borrowed ptrsNiko Matsakis-1/+1
2012-07-14remove typestate from code, tests, and docsNiko Matsakis-1/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-80/+80
#2907.
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-1/+1
2012-07-10Fix some lookahead problems with ACTUALLY tokens.Paul Stansifer-0/+2
2012-07-09Add support for matchers nonterminals.Paul Stansifer-6/+4
2012-07-09Remove 'cont' from parser/lexer.Graydon Hoare-1/+1
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-2/+1
2012-07-06Fixing an infinite type, updating code to match new Early parser, ↵Eric Holk-1/+5
remembering to add protocol parser.
2012-07-06Adding token tree nonterminals to earley parser.Eric Holk-0/+1
2012-07-05Add new syntax for interpolation and repetition, and allow the transcription ↵Paul Stansifer-3/+1
of separators.
2012-07-05Start letting the parser catch interpolated ASTs.Paul Stansifer-1/+1
2012-07-05Macro By Example transcription of token trees with interpolations and ↵Paul Stansifer-1/+11
dotdotdots.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-23/+24
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-03More work on #2082, remove parser/lexer support for 'crust' and 'native'.Graydon Hoare-2/+2
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-0/+5
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-01Convert to new closure syntaxBrian Anderson-4/+4
2012-06-30syntax: Fix lambda parsing following 'ret'Brian Anderson-0/+2
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-0/+5
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-4/+4
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-1/+1
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-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-2/+2
2012-06-25parsing for the macro systemPaul Stansifer-2/+4
2012-06-25MergeTim Chevalier-1/+0
2012-06-24Remove resourcesTim Chevalier-2/+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-1/+0
2012-06-20Remove bind. Issue #2189Brian Anderson-1/+0
2012-06-18Add 'do' expressionsBrian Anderson-1/+1
2012-06-15Beginning of support for interpolation into token trees.Paul Stansifer-0/+16
2012-06-15Make token trees parseable.Paul Stansifer-0/+13
2012-06-14Further work on integer literal suffix inference (#1425)Lindsey Kuper-5/+5
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-11syntax: minor cleanups; making things more idiomaticLindsey Kuper-75/+69
2012-06-11Add a new AST node for unsuffixed integer types.Lindsey Kuper-0/+6
2012-06-09syntax: Intern @strs instead of strsBrian Anderson-4/+4
2012-06-06misc. copies in core/syntax to please borrowckNiko Matsakis-3/+3
2012-06-04rustc: Implement optional fat-arrow syntax for alt (transitional change)Patrick Walton-0/+2
2012-05-31Implement 2 kinds of char / str escaping. Use in rustc. Close #2306.Graydon Hoare-8/+5
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+286
Per issue #2418.