summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
AgeCommit message (Collapse)AuthorLines
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.