about summary refs log tree commit diff
path: root/src/libsyntax/parse/mod.rs
AgeCommit message (Collapse)AuthorLines
2013-07-07De-managed ast::PathJames Miller-10/+10
2013-07-04libsyntax: fix infinite loop when recursively including modulesPhilipp Brüschweiler-0/+4
Fixes #7276
2013-06-26Infer default static/Owned bounds for unbounded heap fns/traits (#7264)Ben Blum-2/+2
2013-06-25great renaming propagation: syntaxCorey Richardson-7/+3
2013-06-23Parse and typecheck (not kindcheck) bounds on trait paths.Ben Blum-2/+2
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-40/+40
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-09remove unused import warningsHuon Wilson-2/+1
2013-06-05add hygiene support functionsJohn Clements-22/+12
2013-06-05remove unused get_ident_interner'sJohn Clements-1/+2
2013-06-05removed unused imports (and one unused argument)John Clements-3/+1
2013-06-05remove interner field from string_readerJohn Clements-3/+1
2013-06-05remove interner from tt_readerJohn Clements-1/+0
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-2/+2
2013-06-05removed some interner fieldsJohn Clements-6/+0
2013-06-05just use TLS internerJohn Clements-2/+2
2013-06-05change to newer macro escape mechanism, using uints in more placesJohn Clements-11/+17
2013-06-01syntax: move callee_id into the expr_ variantsErick Tryzelaar-11/+6
2013-05-30Fix parser testNiko Matsakis-1/+1
2013-05-30Remove copy bindings from patterns.Niko Matsakis-3/+3
2013-05-22librustc: Change `std` to `extra` throughout libsyntax and librustcPatrick Walton-4/+4
2013-05-20getting rid of interner_key! macroJohn Clements-21/+22
2013-05-20hygiene infrastructure.John Clements-19/+14
- added a hash table to memoize rename and mark operations. - added rename, mark, and resolve fold fns
2013-05-20detect unused attrs in one more place, allow parsing to continue for allJohn Clements-0/+16
changed a bunch of fatal()'s into err()'s, to allow parsing to proceed.
2013-05-20refactoring test functionsJohn Clements-70/+7
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-1/+1
2013-05-14Fix test fallout from removing vecs_implicitly_copyableAlex Crichton-7/+6
2013-05-12librustc: Make `self` and `static` into keywordsPatrick Walton-2/+4
2013-05-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-6/+6
&str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str.
2013-05-05auto merge of #6208 : sanxiyn/rust/accurate-span, r=sanxiynbors-2/+2
2013-05-06Fix span testsSeo Sanghyeon-2/+2
2013-05-02librustc: Update the serializer to work properly with INHTWAMA, removing ↵Patrick Walton-1/+2
mutable fields in the process
2013-05-02More cases of [cfg(test)] instead of [test].Felix S. Klock II-1/+1
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-10/+0
2013-05-01remove some warningsErick Tryzelaar-1/+1
2013-04-29libstd: Fix merge fallout.Patrick Walton-16/+14
2013-04-28get rid of prec.rsJohn Clements-3/+0
prec.rs no longer had much to do with precedence; the token->binop function fits better in token.rs, and the one-liner defining the precedence of 'as' can go next to the other precedence stuff in ast_util.rs
2013-04-28comments, helper function for tests, more informative error messageJohn Clements-1/+6
2013-04-28refactoring mod.rsJohn Clements-111/+377
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-21/+21
2013-04-03auto merge of #5559 : jbclements/rust/change-to-tt-based-parsing, r=jbclementsbors-3/+49
Changes the parser to parse all streams into token-trees before hitting the parser proper, in preparation for hygiene. As an added bonus, it appears to speed up the parser (albeit by a totally imperceptible 1%). Also, many comments in the parser. Also, field renaming in token-trees (readme->forest, cur->stack).
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-29change to parsing using ttsJohn Clements-1/+43
also, updates test cases a bit
2013-03-29commenting parserJohn Clements-2/+6
2013-03-28Removing unused importsAlex Crichton-3/+3
2013-03-27std: change default json enum encoder to use strings or a flat vecErick Tryzelaar-15/+17
2013-03-27std: Add tests for json decoding optionsErick Tryzelaar-13/+24
2013-03-20change some uses of fail_unless to assert_eqJohn Clements-3/+2
2013-03-19Make driver::driver::parse_cfgspecs parse any variety of meta_itemLuca Bruno-0/+16
All current meta items types (word, name-value, list) are now properly parsed by rustc --cfg command line. Fixes #2399 Signed-off-by: Luca Bruno <lucab@debian.org>
2013-03-15Update test case to conform to new restrictions on castingJohn Clements-3/+2
2013-03-15Test case fixup (old one tested the old bad behavior).John Clements-12/+12