about summary refs log tree commit diff
path: root/src/comp/syntax
AgeCommit message (Collapse)AuthorLines
2011-08-02Pretty-print fn constraints more correctishBrian Anderson-5/+27
2011-08-02Don't pp extra lines after block open when preserving whitespace. Closes #759Brian Anderson-1/+15
2011-08-02Allow patterns of the form `[a, b, c ...] to be matched and transcribed.Paul Stansifer-62/+80
2011-08-02Use ioivec::read_whole_file_str in a few placesBrian Anderson-4/+2
2011-08-02Compiler accepts input from stdin when source file is called "-"Brian Anderson-7/+34
2011-08-01Partially implement destructuring localsMarijn Haverbeke-29/+43
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-31Get rid of walk.rsMarijn Haverbeke-462/+0
And we're down to a single AST walker again
2011-07-29Enable kind checking on typarams, fix kind constraints in library and comp.Graydon Hoare-2/+2
2011-07-29Remove unreachable statementsMarijn Haverbeke-23/+13
2011-07-29Parse anonymous objs in statement positionMarijn Haverbeke-32/+21
Closes #761
2011-07-29Remove support for obj dtorsMarijn Haverbeke-58/+8
2011-07-28The names 'outer' and 'inner' make more sense than 'self' and 'with'.Lindsey Kuper-15/+13
(Also, some formatting and long-string cleanup.)
2011-07-28Thread kinds into the type system. Don't quite activate yet, since it breaks ↵Graydon Hoare-2/+2
stdlib and snapshot isn't ready to compile modified stdlib.
2011-07-28Change macro syntax to accept a single expr, not a sequence of exprs.Paul Stansifer-67/+69
2011-07-28Parse, store and print type parameter kind constraints.Graydon Hoare-3/+12
2011-07-28:: is allowed to start an expression. Close #762.Josh Matthews-0/+1
2011-07-27Remove vestiges of "layers", insert skeletal do-nothing "kind" pass plus ↵Graydon Hoare-17/+5
cached calculation of kind for each type.
2011-07-27Stop outputting spurious spaces in ivec types and empty mutable vecsMarijn Haverbeke-2/+9
(in the pretty-printer)
2011-07-27Remove superfluous spaces in pretty-printing of loopsMarijn Haverbeke-11/+5
(And extra parens around else-if tests)
2011-07-27Make the pretty-printer output whitespace before obj drop clauseMarijn Haverbeke-1/+5
2011-07-27Improve pretty-printing of constraintsMarijn Haverbeke-13/+15
(Methods still don't seem to have constraints associated with them. Method types do, so I guess this is a TODO.)
2011-07-27Make printing of comments inside bindings slightly less brokenMarijn Haverbeke-14/+3
2011-07-27No longer allow 'case' keyword before patternsMarijn Haverbeke-4/+0
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-24/+20
2011-07-27Reformat for new syntaxMarijn Haverbeke-5942/+5587
2011-07-27Update the parser to accept the new syntaxMarijn Haverbeke-155/+59
2011-07-27Output native_name field for native mods when neededMarijn Haverbeke-0/+5
2011-07-27Have the pretty-printer parentesize unary ops when neededMarijn Haverbeke-3/+13
2011-07-27Update the pretty-printer to output the new syntaxMarijn Haverbeke-20/+19
2011-07-27Parenthesize ivec types as neededMarijn Haverbeke-0/+8
2011-07-26Try to keep the local and its type together when wrapping a long decl.Graydon Hoare-3/+7
2011-07-26Prohibit breaking between "let" and "=" in local decls.Graydon Hoare-2/+4
2011-07-26Trailing whitespace.Graydon Hoare-1/+1
2011-07-26Handle printing 'auto' occurring in loop-variable context.Graydon Hoare-1/+4
2011-07-26Improve printing of mod and native mod.Graydon Hoare-33/+47
2011-07-26Handle hardbreaks at bol slightly better, including break_offset calls (tuck ↵Graydon Hoare-18/+34
offset into previous hardbreak).
2011-07-26Handle column-zero \n explicitly rather than looking for \n\n.Graydon Hoare-4/+1
2011-07-26Consume EOL after line comment.Graydon Hoare-0/+3
2011-07-26Add block and closure protos and parse/pp block and lambda exprs.Michael Sullivan-5/+19
2011-07-26Oops, left whitespace.Paul Stansifer-1/+1
2011-07-26Add basic support for blocks and types in macros.Paul Stansifer-7/+123
2011-07-26Add 'simple' visiting to visit.rsMarijn Haverbeke-4/+105
2011-07-26Resolve loop collection expressions in the right scopeMarijn Haverbeke-6/+1
Closes #745
2011-07-26Remove tuple support from the compilerMarijn Haverbeke-58/+1
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-77/+82
2011-07-26Make the pretty-printer output new-style syntax for recordsMarijn Haverbeke-9/+8
2011-07-26Make the pretty-printer output new-style syntax for local declsMarijn Haverbeke-11/+8
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