aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Check the llvm version against a fixed list.Ralph Giles2010-10-211-4/+3
| | | | | | | | This change is thanks to Peter Hull, who independently resolved the 2.8 vs 2.8svn issue this way. His patch checked the version string against a fixed set of options, which is easier to read and simpler to adjust in the future. (cherry picked from commit 83cc297561a78ad13fcd1c2943f17ace81c725b8)
* Also search the bare ocaml standard library path for llvm bindings.Ralph Giles2010-10-211-0/+1
| | | | | | | | | | | Ubuntu ships the llvm bindings in /usr/lib/ocaml/llvm/ but Fedora is installing them directly in /usr/lib/ocaml so we need to check there as well. The patch is untested; Fedora 14, the current beta, includes llvm 2.7. It does add an unnecessary -I directive, but should at least have a better chance of working on Fedora 15. (cherry picked from commit 8af7360bd3de851668a133ae6ba4419e3722c6aa)
* Update llvm version detection for the 2.8 release.Ralph Giles2010-10-211-9/+22
| | | | | | | | | | | | | | | | | | | | | | The LLVM project recently released version 2.8, and updated the SVN tree version to 2.9svn, obsoleting the simple check for 'llvm-config --version' returning 2.8svn. With this commit we instead check for the substrings 2.8 and 2.9 in the output of 'llvm-config --version', since we (currently) support both the svn and released varieties of those versions. A stable release also complicates our check for the ocaml bindings. Previously we looked in `llvm-config --libdir`/ocaml which is appropriate for local compiles, but distribution packagers are likely to put the bindings in the default search path, e.g. /usr/lib/ocaml/llvm. We now fall back to trying variations on the standard library path returned by 'ocamlc -config' if we don't find it under 'llvm-config --libdir'. With this change, rust builds against LLVM 2.8 as packaged in Ubuntu 10.10 as well as LLVM 2.9svn compiled locally. (cherry picked from commit b606b65756f087c403180abd5418fe7dce469758)
* De-burninate tree.Graydon Hoare2010-10-211-0/+1
|
* eliminated bitv.test, which now lives in test/run-passDave Herman2010-10-211-283/+0
|
* line length police; moved comp.util.bits to std.bitvDave Herman2010-10-214-3/+300
|
* rustboot: Don't use ridiculous type names when describing simple types like ↵Patrick Walton2010-10-212-1/+12
| | | | int and uint
* Use "friendly" type names when reporting a "mismatched type-params" errorPatrick Walton2010-10-212-88/+79
|
* oops, removed bits.test() from mainDave Herman2010-10-211-4/+0
|
* tests and bugfixes: fns take aliases, fixed binary arithmetic in create, ↵Dave Herman2010-10-212-29/+322
| | | | eliminated wasted bit per uint
* simpler computation of uint_bits(), plus whitespace policeDave Herman2010-10-201-13/+2
|
* Move the "friendly" type printer to semantPatrick Walton2010-10-202-87/+85
|
* created a first draft of the bit-set library needed for typestateDave Herman2010-10-202-0/+186
|
* Eliminate <tag#> stuff from the "friendly" type errorsPatrick Walton2010-10-201-0/+33
|
* Print better error messages when the number of type params is wrongPatrick Walton2010-10-201-1/+6
|
* Add a virtual destructor to rust_thread in sync.h, to quiet the compilerPatrick Walton2010-10-201-0/+2
|
* Translate lazy && and || operators in rustc.Graydon Hoare2010-10-191-7/+58
|
* Parse and translate assignments.Graydon Hoare2010-10-192-18/+50
|
* Teach trans to allocate, initialize and load from local variables.Graydon Hoare2010-10-196-18/+174
|
* Add a type slot to the ASTPatrick Walton2010-10-194-93/+98
|
* Partial work on adding types to the ASTPatrick Walton2010-10-192-54/+71
|
* Store items and decls in vecs to preserve input order, index externally. ↵Graydon Hoare2010-10-186-137/+232
| | | | Implement block-local name lookup.
* More work on resolving names in rustc. Basic expr_name lookup working on ↵Graydon Hoare2010-10-186-93/+123
| | | | items and args.
* Disable use of parametric tail call in map.rs, they don't presently work.Graydon Hoare2010-10-181-1/+3
|
* Rewrite session formatting to use #fmt extension.Graydon Hoare2010-10-181-19/+7
|
* Make list.find return an option of different type than the list element.Graydon Hoare2010-10-181-7/+7
|
* Begin sketching name lookup in rustc.Graydon Hoare2010-10-181-6/+74
|
* Expand rustc's fold to update env on block boundaries.Graydon Hoare2010-10-181-1/+14
|
* Make type errors in rustboot report the friendly type of both expected and ↵Graydon Hoare2010-10-181-2/+4
| | | | actual.
* Flesh out the std.list module a touch.Graydon Hoare2010-10-181-0/+49
|
* Roll back the expr->lval change. We're now LL(1) again.Patrick Walton2010-10-183-128/+39
|
* Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵Graydon Hoare2010-10-1510-114/+243
| | | | rustc to use std.util.option. Fix various dependent bugs. Closes #73.
* Finish the fold drivers in fold.rs.Graydon Hoare2010-10-142-12/+110
|
* rustc: Parse field and vector indexing expressionsPatrick Walton2010-10-141-34/+53
|
* Enable resolve pass in rustc. Doesn't do much yet aside from an incomplete ↵Graydon Hoare2010-10-141-0/+2
| | | | identity fold, but no longer crashes.
* Stop using bound refs (don't work; leak) and work around auto-deref ↵Graydon Hoare2010-10-141-23/+33
| | | | vec-append bug.
* Fix mem += mem bug in vec-append.Graydon Hoare2010-10-141-2/+2
|
* Fix typos in Type.friendly_stringify.Graydon Hoare2010-10-141-3/+3
|
* rustc: Start work on lvalsPatrick Walton2010-10-143-59/+137
|
* Typecheck tags in "alt" patternsPatrick Walton2010-10-143-0/+26
|
* Fix crasher in rustc.Graydon Hoare2010-10-144-5/+14
|
* Move the friendly-names table to semant, reuse it in the name mangler.Graydon Hoare2010-10-133-16/+19
|
* Fetch typarams from the outermost item frame, when inside an iter-block. One ↵Graydon Hoare2010-10-134-30/+75
| | | | less crash in rustc.
* Use "friendly" types throughout the typecheckerPatrick Walton2010-10-131-38/+40
|
* Don't run tidy inside etc/. Should put out the burning tinderbox.Patrick Walton2010-10-131-1/+1
|
* Use the user-defined type aliases when reporting type errorsPatrick Walton2010-10-131-21/+71
|
* rustc: Lex identifiers that have numbers in them tooPatrick Walton2010-10-131-2/+6
|
* rustc: Parse vector typesPatrick Walton2010-10-132-0/+8
|
* First stab at a Vim syntax highlighter for RustPatrick Walton2010-10-131-0/+35
|
* Fix horribly embarassing signedness bug in backend, plus related regressions.Graydon Hoare2010-10-124-6/+22
|