aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/token.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make the parser more careful about keywordsMarijn Haverbeke2011-05-131-201/+1
| | | | | | Keywords are now only recognized in contexts where they are valid. The lexer no longer recognizes them, all words are lexed as IDENT tokens, that get interpreted by the parser.
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-13/+13
| | | | This should be a snapshot transition.
* Change module dereference syntax from . to ::Marijn Haverbeke2011-05-121-0/+2
| | | | This will need to be a snapshot.
* Remove boxes from token.t.Graydon Hoare2011-05-091-10/+19
|
* Rename std modules to be camelcasedMarijn Haverbeke2011-05-061-9/+9
| | | | (Have fun mergining your stuff with this.)
* Bring back "pred" syntax for writing predicates for checkTim Chevalier2011-05-051-0/+2
| | | | | | | | | | This commit reinstates the requirement that the predicate in a "check" must be a manifest call to a special kind of function declared with the new "pred" keyword instead of "fn". Preds must have a boolean return type and can only call other preds; they can't have any effects (as enforced by the typechecker). The arguments to a predicate in a check expression must be slot variables or literals.
* Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton2011-05-021-0/+2
| | | | | | the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
* Revert "Use different syntax for checks that matter to typestate"Graydon Hoare2011-05-021-2/+0
| | | | This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
* Use different syntax for checks that matter to typestateTim Chevalier2011-05-021-0/+2
| | | | | | | | | | 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.
* Remove half-baked 'opacity' layer qualifier.Graydon Hoare2011-04-191-6/+0
|
* Remove effect system from src.Graydon Hoare2011-04-191-4/+2
|
* add log_err to rustcMarijn Haverbeke2011-04-191-0/+2
|
* Further on the path toward self-awareness.Lindsey Kuper2011-04-051-0/+2
| | | | | | | | | | | | | Mostly: * Merciless refactoring of trans.rs so that trans_call can work for self-calls as well as other kinds of calls Also: * Various changes to go with having idents, rather than exprs, in expr_call_self AST nodes * Added missing case for SELF token to token.to_str()
* Beginnings of support for magical self prefix; nothing profound happening yet.Lindsey Kuper2011-03-291-1/+2
|
* Add support for break and cont to rustcMarijn Haverbeke2011-03-271-0/+6
| | | | | Testing proper cleanup is hampered by https://github.com/graydon/rust/issues/293
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-251-1/+1
|
* Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare2011-03-251-1/+1
| | | | | | build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
* Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare2011-03-251-1/+1
| | | | off src root.
* make lexer unicode-aware for strings and char literalsMarijn Haverbeke2011-03-251-2/+2
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-221-0/+1
| | | | | | and literals with the 'f32' or 'f64' suffixes work as well. In addition, logging things with the f32 or f64 type works. (float is still assumed to be a synonym for f64).
* Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier2011-03-211-1/+2
| | | | logging of floats. Other operations on float probably don't work yet.
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-161-2/+3
| | | | Tweak std lib vec fns in process.
* Change 'stratum' to the friendlier term 'layer'.Graydon Hoare2010-12-031-2/+2
|
* Teach rustc lexer about changes to stratum, opacity and effect keywords.Graydon Hoare2010-11-031-4/+16
|
* Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare2010-09-231-0/+348
rustc, and move files around.