about summary refs log tree commit diff
path: root/src/libsyntax/ext
AgeCommit message (Collapse)AuthorLines
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.
2012-07-13Change (hopefully) all of the code that generates strs asts to produce ~strs.Michael Sullivan-30/+37
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-51/+56
2012-07-12Obliterate the callee_id hackTim Chevalier-7/+10
Exprs that could be applications of overloaded operators (expr_unary, expr_binary, expr_index) relied on the previous node ID being "reserved" to carry extra typechecking info. This was incredibly error-prone. Fixed it; now all exprs have two node IDs (which will be wasted in some cases; future work could make this an option instead if the extra int field ends up being a performance problem). Closes #2804
2012-07-12Switch map-reduce control protocol to use pipes. This exposed a bug in the ↵Eric Holk-25/+2
pipe compiler, which is now fixed. Use hashmaps in MapReduce Tweak word-count difficulty
2012-07-12Comments only: TODOs to FIXMEs; annotateTim Chevalier-7/+10
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-5/+26
2012-07-12Get rid of all of the remaining /~s in the code base.Michael Sullivan-10/+10
2012-07-12Merge branch 'rt-changes' into incomingMichael Sullivan-2/+10
2012-07-12Handle autoserializing of str/~.Michael Sullivan-2/+10
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-8/+5
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-09'cont' -> 'again' in straggler codePaul Stansifer-1/+1
2012-07-09Allow defining token tree macros. They should work now!Paul Stansifer-64/+167
2012-07-09Add support for matchers nonterminals.Paul Stansifer-1/+7
2012-07-09Enable item macros to define macros.Paul Stansifer-6/+17
2012-07-09Allow folds to drop items.Paul Stansifer-10/+18
2012-07-09rustc: Switch over to resolve3Patrick Walton-2/+2
2012-07-09Revert "rustc: Switch over to resolve3" due to Linux failuresPatrick Walton-2/+2
This reverts commit 2c0aa257e293dde91042a8045100d9923d139a04.
2012-07-09rustc: Switch over to resolve3Patrick Walton-2/+2
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1