| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Check the llvm version against a fixed list. | Ralph Giles | 2010-10-21 | 1 | -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 Giles | 2010-10-21 | 1 | -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 Giles | 2010-10-21 | 1 | -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 Hoare | 2010-10-21 | 1 | -0/+1 | |
| | | ||||||
| * | eliminated bitv.test, which now lives in test/run-pass | Dave Herman | 2010-10-21 | 1 | -283/+0 | |
| | | ||||||
| * | line length police; moved comp.util.bits to std.bitv | Dave Herman | 2010-10-21 | 4 | -3/+300 | |
| | | ||||||
| * | rustboot: Don't use ridiculous type names when describing simple types like ↵ | Patrick Walton | 2010-10-21 | 2 | -1/+12 | |
| | | | | | int and uint | |||||
| * | Use "friendly" type names when reporting a "mismatched type-params" error | Patrick Walton | 2010-10-21 | 2 | -88/+79 | |
| | | ||||||
| * | oops, removed bits.test() from main | Dave Herman | 2010-10-21 | 1 | -4/+0 | |
| | | ||||||
| * | tests and bugfixes: fns take aliases, fixed binary arithmetic in create, ↵ | Dave Herman | 2010-10-21 | 2 | -29/+322 | |
| | | | | | eliminated wasted bit per uint | |||||
| * | simpler computation of uint_bits(), plus whitespace police | Dave Herman | 2010-10-20 | 1 | -13/+2 | |
| | | ||||||
| * | Move the "friendly" type printer to semant | Patrick Walton | 2010-10-20 | 2 | -87/+85 | |
| | | ||||||
| * | created a first draft of the bit-set library needed for typestate | Dave Herman | 2010-10-20 | 2 | -0/+186 | |
| | | ||||||
| * | Eliminate <tag#> stuff from the "friendly" type errors | Patrick Walton | 2010-10-20 | 1 | -0/+33 | |
| | | ||||||
| * | Print better error messages when the number of type params is wrong | Patrick Walton | 2010-10-20 | 1 | -1/+6 | |
| | | ||||||
| * | Add a virtual destructor to rust_thread in sync.h, to quiet the compiler | Patrick Walton | 2010-10-20 | 1 | -0/+2 | |
| | | ||||||
| * | Translate lazy && and || operators in rustc. | Graydon Hoare | 2010-10-19 | 1 | -7/+58 | |
| | | ||||||
| * | Parse and translate assignments. | Graydon Hoare | 2010-10-19 | 2 | -18/+50 | |
| | | ||||||
| * | Teach trans to allocate, initialize and load from local variables. | Graydon Hoare | 2010-10-19 | 6 | -18/+174 | |
| | | ||||||
| * | Add a type slot to the AST | Patrick Walton | 2010-10-19 | 4 | -93/+98 | |
| | | ||||||
| * | Partial work on adding types to the AST | Patrick Walton | 2010-10-19 | 2 | -54/+71 | |
| | | ||||||
| * | Store items and decls in vecs to preserve input order, index externally. ↵ | Graydon Hoare | 2010-10-18 | 6 | -137/+232 | |
| | | | | | Implement block-local name lookup. | |||||
| * | More work on resolving names in rustc. Basic expr_name lookup working on ↵ | Graydon Hoare | 2010-10-18 | 6 | -93/+123 | |
| | | | | | items and args. | |||||
| * | Disable use of parametric tail call in map.rs, they don't presently work. | Graydon Hoare | 2010-10-18 | 1 | -1/+3 | |
| | | ||||||
| * | Rewrite session formatting to use #fmt extension. | Graydon Hoare | 2010-10-18 | 1 | -19/+7 | |
| | | ||||||
| * | Make list.find return an option of different type than the list element. | Graydon Hoare | 2010-10-18 | 1 | -7/+7 | |
| | | ||||||
| * | Begin sketching name lookup in rustc. | Graydon Hoare | 2010-10-18 | 1 | -6/+74 | |
| | | ||||||
| * | Expand rustc's fold to update env on block boundaries. | Graydon Hoare | 2010-10-18 | 1 | -1/+14 | |
| | | ||||||
| * | Make type errors in rustboot report the friendly type of both expected and ↵ | Graydon Hoare | 2010-10-18 | 1 | -2/+4 | |
| | | | | | actual. | |||||
| * | Flesh out the std.list module a touch. | Graydon Hoare | 2010-10-18 | 1 | -0/+49 | |
| | | ||||||
| * | Roll back the expr->lval change. We're now LL(1) again. | Patrick Walton | 2010-10-18 | 3 | -128/+39 | |
| | | ||||||
| * | Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵ | Graydon Hoare | 2010-10-15 | 10 | -114/+243 | |
| | | | | | rustc to use std.util.option. Fix various dependent bugs. Closes #73. | |||||
| * | Finish the fold drivers in fold.rs. | Graydon Hoare | 2010-10-14 | 2 | -12/+110 | |
| | | ||||||
| * | rustc: Parse field and vector indexing expressions | Patrick Walton | 2010-10-14 | 1 | -34/+53 | |
| | | ||||||
| * | Enable resolve pass in rustc. Doesn't do much yet aside from an incomplete ↵ | Graydon Hoare | 2010-10-14 | 1 | -0/+2 | |
| | | | | | identity fold, but no longer crashes. | |||||
| * | Stop using bound refs (don't work; leak) and work around auto-deref ↵ | Graydon Hoare | 2010-10-14 | 1 | -23/+33 | |
| | | | | | vec-append bug. | |||||
| * | Fix mem += mem bug in vec-append. | Graydon Hoare | 2010-10-14 | 1 | -2/+2 | |
| | | ||||||
| * | Fix typos in Type.friendly_stringify. | Graydon Hoare | 2010-10-14 | 1 | -3/+3 | |
| | | ||||||
| * | rustc: Start work on lvals | Patrick Walton | 2010-10-14 | 3 | -59/+137 | |
| | | ||||||
| * | Typecheck tags in "alt" patterns | Patrick Walton | 2010-10-14 | 3 | -0/+26 | |
| | | ||||||
| * | Fix crasher in rustc. | Graydon Hoare | 2010-10-14 | 4 | -5/+14 | |
| | | ||||||
| * | Move the friendly-names table to semant, reuse it in the name mangler. | Graydon Hoare | 2010-10-13 | 3 | -16/+19 | |
| | | ||||||
| * | Fetch typarams from the outermost item frame, when inside an iter-block. One ↵ | Graydon Hoare | 2010-10-13 | 4 | -30/+75 | |
| | | | | | less crash in rustc. | |||||
| * | Use "friendly" types throughout the typechecker | Patrick Walton | 2010-10-13 | 1 | -38/+40 | |
| | | ||||||
| * | Don't run tidy inside etc/. Should put out the burning tinderbox. | Patrick Walton | 2010-10-13 | 1 | -1/+1 | |
| | | ||||||
| * | Use the user-defined type aliases when reporting type errors | Patrick Walton | 2010-10-13 | 1 | -21/+71 | |
| | | ||||||
| * | rustc: Lex identifiers that have numbers in them too | Patrick Walton | 2010-10-13 | 1 | -2/+6 | |
| | | ||||||
| * | rustc: Parse vector types | Patrick Walton | 2010-10-13 | 2 | -0/+8 | |
| | | ||||||
| * | First stab at a Vim syntax highlighter for Rust | Patrick Walton | 2010-10-13 | 1 | -0/+35 | |
| | | ||||||
| * | Fix horribly embarassing signedness bug in backend, plus related regressions. | Graydon Hoare | 2010-10-12 | 4 | -6/+22 | |
| | | ||||||