about summary refs log tree commit diff
path: root/src/libsyntax/ext
AgeCommit message (Collapse)AuthorLines
2012-08-06Fix log_syntax of unexpanded code.Paul Stansifer-9/+12
2012-08-06make `ref x` bindings produce region ptrs and fix various minor bugsNiko Matsakis-3/+5
we now detect inconsistent modes, binding names, and various other errors. typeck/trans integration is mostly done. borrowck not so much. more tests needed.
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-173/+174
2012-08-06Handle interpolated paths in pattern parsing. Fixes #3007.Eric Holk-1/+2
We might need to use is_ident_or_path in a for other places too.
2012-08-05Switch alts to use arrowsBrian Anderson-569/+505
2012-08-03rustc: Merge fn& and fn in favor of fn&.Patrick Walton-4/+4
This is a step on the way to moving the function "proto" sigil out front.
2012-08-03rustc: Add the notion of inherited visibilityPatrick Walton-3/+2
2012-08-03rustc: Remove all fixed-length strings from our codebasePatrick Walton-5/+5
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-7/+17
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-02Allow interpolations of all the nt_*s.Paul Stansifer-1/+4
2012-08-01Convert ret to returnBrian Anderson-125/+136
2012-08-01Clean out transitional lint.Graydon Hoare-1/+1
2012-08-01Working on documentation of pipes.Eric Holk-0/+34
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-6/+10
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-4/+4
2012-07-31syntax: Rename 'module' extension to 'module_path'Brian Anderson-1/+1
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-3/+3
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-113/+113
2012-07-30Improve some documentation.Paul Stansifer-14/+20
2012-07-30Let's give that binder a name that's not incredibly confusing.Paul Stansifer-2/+2
2012-07-30Impl-ize interner.Paul Stansifer-1/+0
2012-07-30Rename `#mod` -> `#module` to not collide with the keyword.Paul Stansifer-3/+6
2012-07-29Rewrite bitv to use classes and optimize its representationTim Chevalier-2/+2
Rewrote bitv as a class that uses a 32-bit int as its representation for bit vectors of 32 bits or less, and a vector (the old representation) otherwise. I didn't benchmark very much, but a bit of informal benchmarking suggested this is a win. Closes #2341
2012-07-27rustc: Use coherence for operator overloading.Patrick Walton-18/+1
The only use of the old-style impls is now placement new.
2012-07-27Make macro-system type and constructor names more uniform; more comments.Graydon Hoare-123/+131
2012-07-27Start killing off obsolete/unused quoters, and fix long lines.Graydon Hoare-39/+1
2012-07-27Comments in the new macro system, reflecting conversation with pauls.Graydon Hoare-2/+79
2012-07-26Merge branch 'incoming' of github.com:mozilla/rustPaul Stansifer-2/+0
2012-07-26Comments Only: Remove outdated FIXMEs. Fixes #2886.Eric Holk-2/+0
2012-07-26Allow old-style syntax extensions to be called with new syntax.Paul Stansifer-0/+61
2012-07-25Polymorphic protocols work well enough to do MapReduce.Eric Holk-6/+8
I did some horrible things with type variable naming here. It should do the right thing in most cases, but we'll need to go through and make it correct someday.
2012-07-25Bounded protocols work well enough to compile core, but map reduce has too ↵Eric Holk-15/+37
many type parameters, so we have to get fancier.
2012-07-25Thread spans through the pipe compiler. They aren't perfect, but they make ↵Eric Holk-70/+90
debugging far easier than core.rc:0:0. Changed the is_bounded check, so we fail compiling core right now due to not supporting type parameters.
2012-07-25Compiled a bounded version of pingpong.Eric Holk-43/+232
There are some failures in the other pipe tests, but these seem to just be a matter of generalizing the library code. Updating pipes library so all tests pass again
2012-07-25Generate buffer type for bounded protocolsEric Holk-0/+31
2012-07-25Refactor the bounded pingpong example to avoid needing to generate unsafe code.Eric Holk-19/+30
Took some steps towards bounded codegen.
2012-07-25Refactoring pipes to allow implementing bounded protocols.Eric Holk-2/+5
2012-07-24Bugfix: enable transcription to deal with zero-repetition cases.Paul Stansifer-9/+8
2012-07-24Improve an error message a little.Paul Stansifer-3/+5
2012-07-24Bugfix: make the parser handle the case where zero repetitions occur, by ↵Paul Stansifer-12/+30
handling parse results on the basis of what names the matcher expects to bind, not on what names are actually bound.
2012-07-18syntax: Parse multiple trait refs in a single implementationPatrick Walton-0/+1
2012-07-17Added liveness analysis for protocols, and removed warnings about empty states.Eric Holk-0/+114
2012-07-17Don't ICE when protocol steps to invalid mesasge.Eric Holk-21/+22
2012-07-17rustc: Fix coherence errors in the buildPatrick Walton-27/+26
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-13/+115
2012-07-17Error checking for protocols. We'll need spans though.Eric Holk-141/+249
2012-07-16Add support for terminal states (issue #2862)Eric Holk-44/+111
2012-07-14remove typestate from code, tests, and docsNiko Matsakis-18/+4
2012-07-14Get rid of ast::ty_vstore, which was only used for fixed length.Michael Sullivan-15/+4
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-315/+316
#2907.