about summary refs log tree commit diff
path: root/src/boot/fe/item.ml
AgeCommit message (Collapse)AuthorLines
2011-05-13Remove rustboot from the repository.Graydon Hoare-1334/+0
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-0/+8
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-8/+0
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-0/+8
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-04-19Remove half-baked 'opacity' layer qualifier.Graydon Hoare-5/+2
2011-04-19Remove effect system from src.Graydon Hoare-20/+7
2011-04-19Add log_err to rustbootMarijn Haverbeke-0/+5
2011-03-25Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare-1/+1
2011-03-25Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare-1/+1
build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
2011-03-25Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare-1/+1
off src root.
2010-12-03Change 'stratum' to the friendlier term 'layer'.Graydon Hoare-14/+14
2010-11-02Shift obj, type, param decls to have strata rather than effects.Graydon Hoare-14/+24
2010-11-02First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare-14/+21
2010-09-30implemented break for while-loop caseOr Brostovski-1/+8
ast.ml - added break and cont statements item.ml - added break and cont statements lexer.mll - added break and cont statements token.ml - added break and cont statements trans.ml - implemented the break statement for the while-loop case - replaced hash table accesses with get_stmt_depth where needed type.ml = added break and cont statements typestate.ml - implemented the break statement for the while-loop case - added shorthand filter_live_block_slots walk.ml - added break and cont statements while-with-break.rs - code for testing while loops
2010-09-30Closed issue 154 - prevents compiler from compiliing a line to zero statementsOr Brostovski-1/+10
2010-09-21Report an error instead of asserting when an item name is already in usePatrick Walton-3/+7
2010-09-21Tighten pattern parsing on 0-ary constructors.Graydon Hoare-1/+5
2010-09-20Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare-13/+27
translate 0-ary constructors as constants. Rustc loses ~300kb.
2010-09-20Move id counters into sess in preparation for moving desugaring to middle-end.Graydon Hoare-8/+1
2010-09-15Add Ast.ATOM_pexp and -pexp mode wherein pexps live beyond parsing, into ↵Graydon Hoare-5/+26
later stages. Fixes to pexp pretty printer.
2010-09-14Teach front-end about simple, first-cut version of const items.Graydon Hoare-0/+18
2010-09-09Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare-115/+120
work, possibly a little bumpy. Changes a lot.
2010-09-08First lame stab at solving the diamond import problemPatrick Walton-1/+6
2010-09-07Initial support for a global crate metadata cachePatrick Walton-1/+1
2010-08-23Merge remote branch 'tohava/master'Graydon Hoare-62/+110
Conflicts: src/boot/fe/ast.ml
2010-08-20Warn when the value of "spawn" is unused, as it's uselessPatrick Walton-1/+5
2010-08-21Modified parser to handle alt type andadded a few testsOr Brostovski-62/+110
ast.ml - modified arm types for easier polymorphism - fixed a bug in fmt_type_arm dead.ml - modified arm types for easier polymorphism common.ml - added 'either' - added some useful auxiliary functions item.ml - modified arm code to be more polymorphic and handle both alt-tag and alt-type, also fixed the problematic case in bad-alt.rs Makefile - added XFAIL for new alt-type test bad-alt.rs - added test for invalid alt syntax alt-type-simple.rs - added simple test for alt type
2010-08-16Absent any deep overhauls to syntax or constant-handling, hack in the ↵Graydon Hoare-3/+11
ability to project a cexp var binding to a token in the parser. Use it in comp/rustc.rc and comp/lib/llvm.rs.
2010-08-12Kill old parser support for type-parametric modules. We don't support those.Graydon Hoare-2/+2
2010-08-06Accept uint literals as literal patterns.Roy Frostig-1/+4
2010-07-19Include the statements on the LHS of a binop when desugaring. Closes #117.Patrick Walton-56/+57
2010-07-15Merge branch 'contrib'Graydon Hoare-87/+88
2010-07-16use,import,export parse fixesAdam Bozanich-73/+87
* use,import,export must come before all other items. * disallow use,import in "native" declarations.
2010-07-16permit use before import. closes #48Adam Bozanich-36/+23
2010-07-13Desugar the head stmts all the way out of STMT_for, rather than stashing ↵Graydon Hoare-6/+7
them in the node. That's only necessary for STMT_while.
2010-07-13Accept effect-qualified local item declarations.Graydon Hoare-1/+1
2010-07-02Parse effect-qualified type definitions.Graydon Hoare-13/+20
2010-06-30Rename 'exterior' to 'box' and 'interior' to 'local' (at least wrt. slots; ↵Graydon Hoare-1/+1
keep MEM_interior for describing interior-parts-of-allocations)
2010-06-29Initial stab at lowering mutable and exterior into the type system.Graydon Hoare-4/+12
2010-06-28Some fixme-to-issue housekeeping.Graydon Hoare-1/+0
2010-06-27Only translate or dwarf-emit items or stubs locally defined or used. Avoids ↵Graydon Hoare-7/+21
instantiating O(sizeof(standard-library)) worth of imports stubs on each 'use std'. Closes issue 13.
2010-06-25Resolve and typecheck patterns in pattern alt redux. This time featuring ↵Roy Frostig-14/+16
way more correctness.
2010-06-24Resolve and typecheck patterns in pattern alt.Roy Frostig-10/+15
2010-06-23Populate tree.Graydon Hoare-0/+1139