aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/eval.rs
Commit message (Collapse)AuthorAgeFilesLines
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-85/+85
| | | | This should be a snapshot transition.
* Keep resolve data in external hash table, rather than embedded defsMarijn Haverbeke2011-05-121-3/+6
| | | | | | | | | | | | | One step closer to removing fold and having a single, immutable AST. Resolve still uses fold, because it has to detect and transform expr_field expressions. If we go through on our plan of moving to a different syntax for module dereferencing, the parser can spit out expr_field expressions, and resolve can move to walk. (I am truly sorry for the things I did in typestate_check.rs. I expect we'll want to change that to walk as well in the near future, at which point it should probably pass around a context record, which could hold the def_map.)
* Remove mod indices from the ASTMarijn Haverbeke2011-05-111-31/+15
| | | | | They are now created by the resolve pass, which is the only pass that needs them, and kept internal to that pass.
* Rename std modules to be camelcasedMarijn Haverbeke2011-05-061-15/+15
| | | | (Have fun mergining your stuff with this.)
* Start sketching --depend support in rustc.Graydon Hoare2011-05-031-0/+12
|
* Remove effect system from src.Graydon Hoare2011-04-191-5/+5
|
* collect crate meta info and ext crate namesMarijn Haverbeke2011-04-181-1/+4
|
* Move to single-uint file-position representation.Marijn Haverbeke2011-04-091-61/+61
| | | | | | | | This makes passing them around cheaper. There is now a table (see front/codemap.rs) that is needed to transform such an uint into an actual filename/line/col location. Also cleans up the span building in the parser a bit.
* 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.
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-161-4/+3
| | | | Tweak std lib vec fns in process.
* Merge remote branch 'brson/recursive-elseif'Graydon Hoare2011-03-141-18/+11
|\
| * Merge branch 'master' into recursive-elseifBrian Anderson2011-03-131-3/+6
| |\ | | | | | | | | | | | | | | | Conflicts: src/comp/middle/typeck.rs
| * | Merge branch 'master' into recursive-elseifBrian Anderson2011-03-071-18/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs
* | | Add basic file-system functionalityMarijn Haverbeke2011-03-141-2/+2
| |/ |/| | | | | | | std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.
* | Update the current id when we create sub parsers.Rafael Ávila de Espíndola2011-03-101-2/+5
| |
* | Fix eval typo (caught by Martin Hock).Graydon Hoare2011-03-101-1/+1
|/
* Populate default compilation environment as in rustboot.Graydon Hoare2011-03-011-1/+1
|
* Fix typo in crate directive evaluator.Graydon Hoare2011-02-251-1/+1
|
* Factor crate expr evaluator out of parser, expand to simple scalars and ops, ↵Graydon Hoare2011-02-241-0/+443
if, alt.