about summary refs log tree commit diff
path: root/src/comp/syntax/parse/parser.rs
AgeCommit message (Collapse)AuthorLines
2011-08-15Make spans into stacks (to store expansion backtraces).Paul Stansifer-12/+12
2011-08-15Rename a field (so that macros can mention it).Paul Stansifer-1/+1
2011-08-15rustc: Parse and typecheck unique pointersPatrick Walton-1/+1
2011-08-15rustc: Unbreak "3 as uint < 5u"Patrick Walton-49/+59
2011-08-15rustc: Accept <T> for type parameters in type and item declarationsPatrick Walton-4/+14
2011-08-15Removed spawn and task from the parser. Updated all the tests except for the ↵Eric Holk-0/+4
benchmarks.
2011-08-15Add tuple patternsMarijn Haverbeke-0/+18
2011-08-15Make tuples constructableMarijn Haverbeke-11/+26
2011-08-15Tuple types back, not constructable yetMarijn Haverbeke-0/+1
2011-08-14Revert "Make [] and ~[] both construct ivecs"Brian Anderson-1/+1
This reverts commit 60e1cead9bab129b1937a11c71ab2ab2fd751792. The check-fast driver can't work with this commit. Need to wait until main taks ivecs
2011-08-12Remove typestate workaround that's no longer necessaryTim Chevalier-4/+1
2011-08-12Make [] and ~[] both construct ivecsBrian Anderson-1/+1
It's no longer possible to create an exterior vec
2011-08-12Rename std::ioivec to std::ioBrian Anderson-2/+2
2011-08-10Introduce a ty_infer ast node and use it instead of option::t[ty].Michael Sullivan-4/+4
This actually basically makes things worse, since we get less nice type system guarentees but it will make doing type inferred blocks a fair deal less painful. I'm not /really/ happy about this...
2011-08-10Remove dead keywords from parser.Graydon Hoare-2/+0
2011-08-09Remove support for the ivec T[] syntax.Erick Tryzelaar-34/+15
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-68/+69
2011-08-09Change the ivec type syntax to [T].Erick Tryzelaar-0/+5
This preserves the old syntax for now.
2011-08-08Add new arg-passing mode 'move' denoted with '-T'. Translate as ↵Graydon Hoare-0/+2
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-13/+20
2011-08-05rustc: Add inlineness to the fn decl insteadPatrick Walton-0/+3
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-08-03parse_crate_from_source_str takes a parse_sess, not codemapBrian Anderson-2/+1
This was causing problems when reading from stdin for subsequent passes that needed to generate node ids.
2011-08-02Use ioivec::read_whole_file_str in a few placesBrian Anderson-2/+1
2011-08-02Compiler accepts input from stdin when source file is called "-"Brian Anderson-6/+21
2011-08-01Partially implement destructuring localsMarijn Haverbeke-7/+3
You can now say let {bcx, val} = some_result_returner(); Similar for loop variables. Assigning to such variables is not safe yet. Function arguments also remain a TODO.
2011-07-29Remove unreachable statementsMarijn Haverbeke-12/+5
2011-07-29Parse anonymous objs in statement positionMarijn Haverbeke-32/+21
Closes #761
2011-07-29Remove support for obj dtorsMarijn Haverbeke-23/+2
2011-07-28The names 'outer' and 'inner' make more sense than 'self' and 'with'.Lindsey Kuper-5/+5
(Also, some formatting and long-string cleanup.)
2011-07-28Change macro syntax to accept a single expr, not a sequence of exprs.Paul Stansifer-3/+10
2011-07-28Parse, store and print type parameter kind constraints.Graydon Hoare-1/+8
2011-07-27Remove vestiges of "layers", insert skeletal do-nothing "kind" pass plus ↵Graydon Hoare-16/+4
cached calculation of kind for each type.
2011-07-27No longer allow 'case' keyword before patternsMarijn Haverbeke-4/+0
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-17/+14
2011-07-27Reformat for new syntaxMarijn Haverbeke-1517/+1463
2011-07-27Update the parser to accept the new syntaxMarijn Haverbeke-155/+59
2011-07-26Add block and closure protos and parse/pp block and lambda exprs.Michael Sullivan-4/+16
2011-07-26Remove tuple support from the compilerMarijn Haverbeke-17/+0
2011-07-26Properly parse 'auto' for loop variable typesMarijn Haverbeke-1/+1
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-39/+42
2011-07-26Make the pretty-printer output new-style syntax for local declsMarijn Haverbeke-1/+0
2011-07-26Add support for new-style local declsMarijn Haverbeke-0/+33
let x = 5; let y: int = 10; // as soon as a typestate bug is fixed: let x: str = foo, y <- 20u; 'auto' and 'type-first let' will soon be dropped.
2011-07-25Correct input coordinate tracking on block-opening brace.Graydon Hoare-5/+5
2011-07-25Rename the block type to be blk also. Sorry.Michael Sullivan-4/+4
2011-07-25Disallow block as a variable name in preparation for it becoming a keyword.Michael Sullivan-2/+3
2011-07-25Add support for bracey record types and literalsMarijn Haverbeke-8/+46
type foo = {mutable x: int, y: int}; auto myfoo = {mutable x: 10, y: 20u}; The old syntax is also still supported.
2011-07-25Add look-ahead to parser objectMarijn Haverbeke-34/+48
2011-07-25Make the lexer slightly less statefulMarijn Haverbeke-8/+7