summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Collapse)AuthorLines
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
2012-06-12Allow trailing comma in vectors. Closes #2482.Lindsey Kuper-1/+1
2012-06-12syntax: clarify that trailing separators are never requiredLindsey Kuper-60/+60
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-5/+22
2012-06-09syntax: Intern @strs instead of strsBrian Anderson-16/+19
2012-06-08Revert "syntax: Remove a couple of implicit copies" due to test failuresPatrick Walton-2/+2
This reverts commit 46b12d3e05a5dc1feaf45520310a6dc8f1b5d13a.
2012-06-08syntax: Remove a couple of implicit copiesPatrick Walton-2/+2
2012-06-08syntax: Use a ring buffer instead of a dvec and save a bunch of copies. ↵Patrick Walton-7/+25
Shaves a second or two off rustc.
2012-06-07syntax: Remove several deep copies that were happening due to misuse of ↵Patrick Walton-76/+90
parse_seq
2012-06-07syntax: Add a lot of copy keywordsPatrick Walton-6/+9
2012-06-06workaround LLVM bug #13042Niko Matsakis-2/+5
2012-06-06borrowck changes: some copies, some removed mut annotations, some dvecNiko Matsakis-21/+22
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-1/+9
2012-06-04Remove cyclic import * that resolve probably shouldn't have acceptedPatrick Walton-1/+2
2012-05-31Implement 2 kinds of char / str escaping. Use in rustc. Close #2306.Graydon Hoare-8/+6
2012-05-31Allow optional comma before `with` in FRU. Closes #2463.Lindsey Kuper-0/+6
2012-05-31syntax: get rid of redundant caseLindsey Kuper-2/+0
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+4185
Per issue #2418.