about summary refs log tree commit diff
path: root/src/comp/metadata
AgeCommit message (Collapse)AuthorLines
2011-08-27Convert std::uint to istrs. Issue #855Brian Anderson-4/+5
2011-08-24Change "pred" to "pure fn" (but still accept "pred")Tim Chevalier-1/+1
This is part 1 of changing the "pred" keyword to "pure fn". Right now, the compiler accepts both "pred" and "pure fn".
2011-08-23Resolve a number of FIXMEsBrian Anderson-2/+2
2011-08-22Move functions from syntax::ast to syntax::ast_utilBrian Anderson-6/+11
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
2011-08-22Replace &ty::t with ty::t throughout the compilerMarijn Haverbeke-4/+4
Type handles are uints, passing them by reference only causes unnecessary spilling.
2011-08-20ReformatBrian Anderson-185/+185
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Rename various things from ivec to vecBrian Anderson-1/+1
2011-08-18Change ast::ty_ivec, ty::ty_ivec to ty_vecBrian Anderson-1/+1
2011-08-18Remove ast::ty_vecBrian Anderson-2/+0
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-3/+3
This should make the compilation process a bit less noisy.
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-18/+18
2011-08-16Port the compiler to foo<T> decl syntax.Erick Tryzelaar-5/+5
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-34/+34
2011-08-16Removing tasks, ports and chans from the compiler.Eric Holk-6/+0
2011-08-16Rename std::ivec to std::vecBrian Anderson-24/+24
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-42/+42
2011-08-15Use span stacks to track macro expansion for less troublesome error messages.Paul Stansifer-1/+1
2011-08-15Make spans into stacks (to store expansion backtraces).Paul Stansifer-5/+5
2011-08-15Tuple fields are immutableMarijn Haverbeke-3/+3
2011-08-15Tuple types back, not constructable yetMarijn Haverbeke-0/+12
2011-08-12Convert uint::parse_buf to ivecsBrian Anderson-5/+4
2011-08-12Remove ebmlivec moduleBrian Anderson-221/+221
2011-08-12Remove vecs from std::sortBrian Anderson-1/+1
2011-08-12Rename std::ioivec to std::ioBrian Anderson-25/+25
2011-08-12Rename str::connect_ivec to str::connectBrian Anderson-2/+2
2011-08-12Rename str::split_ivec to str::splitBrian Anderson-1/+1
2011-08-12Convert uses of str::split to split_ivecBrian Anderson-6/+1
2011-08-12Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytesBrian Anderson-8/+8
2011-08-12Remove vec version of str::bytes, rename bytes_ivec to str::bytesBrian Anderson-13/+13
2011-08-10rustc: Add unique pointers to the set of types we supportPatrick Walton-0/+2
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-108/+108
2011-08-08Add new arg-passing mode 'move' denoted with '-T'. Translate as ↵Graydon Hoare-0/+6
pass-by-value, doesn't deinit source yet nor get proper analysis in typestate, alias passes.
2011-08-05rustc: Parse "inline". Also write it into metadata.Patrick Walton-0/+13
2011-08-05Revert "rustc: Introduce the concept of inline to the AST"Patrick Walton-2/+2
This reverts commit 9b9170f9fe2e4701255a5bd0630c203409d8e934.
2011-08-05rustc: Introduce the concept of inline to the ASTPatrick Walton-2/+2
2011-07-29Encode, decode, and thread through typechecking all the param kinds, not ↵Graydon Hoare-53/+77
just the counts.
2011-07-29Turn on kind propagation for typarams. Annotate a bunch of typarams in rustc ↵Graydon Hoare-1/+1
and libstd.
2011-07-28Thread kinds into the type system. Don't quite activate yet, since it breaks ↵Graydon Hoare-2/+20
stdlib and snapshot isn't ready to compile modified stdlib.
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-18/+15
2011-07-27Reformat for new syntaxMarijn Haverbeke-1335/+1252
2011-07-26Resolve and typecheck alias-environment-capturing blocks.Michael Sullivan-0/+6
2011-07-26Convert all code that uses walk.rs in the straightforward way to simple_visitMarijn Haverbeke-6/+6
Code that needs the keep_going functionality is still using walk. I will add an equivalent to visit.rs later.
2011-07-26Remove tuple support from the compilerMarijn Haverbeke-12/+0
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-101/+106
2011-07-25Remove some rustboot-ismsMarijn Haverbeke-8/+4
Closes #464
2011-07-21Move a bunch of trans into trans_common, including the context structures.Michael Sullivan-1/+1
Probably more should be moved or split off into other files. My algorithm was something along the lines of: move the contexts and their transitive dependencies along with some functions to work with them. I stopped when I was going to have to start pulling glue generation, which really should go into a trans_glue file.
2011-07-19Add missing case in tyencode for ty_constrTim Chevalier-0/+65
Fixes the Windoze breakage, I hope.
2011-07-19Beginnings of support for constrained typesTim Chevalier-38/+64
Programs with constrained types now parse and typecheck, but typestate doesn't check them specially, so the one relevant test case so far is XFAILed. Also rewrote all of the constraint-related data structures in the process (again), for some reason. I got rid of a superfluous data structure in the context that was mapping front-end constraints to resolved constraints, instead handling constraints in the same way in which everything else gets resolved.
2011-07-19Remove cwriter.rsBrian Anderson-28/+0
This file isn't actually in the crate
2011-07-18Support x86 stdcall conventionBrian Anderson-0/+2
This allows rust to call the Win32 API