aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Have the pretty-printer take a writer stream as argumentMarijn Haverbeke2011-03-091-21/+22
| | | | | It now uses a string writer to also fill in for middle.ty.ast_ty_to_str
* Add stdout_writer and string_writer to std.ioMarijn Haverbeke2011-03-091-23/+48
| | | | | For use by pretty-printer. string_writer API is a bit silly right now, feel free to suggest a cleaner way to do this.
* Add a pretty-printerMarijn Haverbeke2011-03-071-13/+17
| | | | | Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.
* Change io.fileflag to a tag type. Remove FIXMEBrian Anderson2011-03-061-19/+8
|
* Make _str.bytes use _vec.init_fn. Remove FIXME.Brian Anderson2011-03-061-18/+3
|
* Rustify some comments lifted directly from the sha-1 reference implementationBrian Anderson2011-02-221-2/+2
|
* Rename std._io to std.io since 'io' is no longer a keywordBrian Anderson2011-02-222-2/+2
|
* Implement sha-1 in standard library. Closes #228Brian Anderson2011-02-212-0/+285
|
* Add std.path module for pathname manipulations.Graydon Hoare2011-01-102-0/+22
|
* Fail in new_stdio_reader when libc.fopen fails.Graydon Hoare2011-01-101-2/+3
|
* Add _str.starts_with and ends_with.Graydon Hoare2011-01-031-0/+29
|
* Add std.dbg.trap(str msg) for help debugging.Graydon Hoare2010-12-311-0/+5
|
* Sort methods in object types.Graydon Hoare2010-12-211-0/+25
|
* Add std.sort, with a simple mergesort.Graydon Hoare2010-12-212-0/+50
|
* rustboot: Don't use walk to traverse statements in type.ml; fixes redundant ↵Patrick Walton2010-11-185-0/+10
| | | | checking, improves diagnostics. Also report untyped slots.
* Teach rustc about const tag value, begin work on trans_copy_ty, make uint's ↵Graydon Hoare2010-11-091-19/+9
| | | | to_str routine less clever and thereby resist overflow.
* Implement a map2() function in std._vecPatrick Walton2010-11-091-0/+18
|
* Support a special const-value refcount, use it for const strings.Graydon Hoare2010-11-093-4/+17
|
* Add a check for binding an alias. Good thing, as we had two instances in our ↵Graydon Hoare2010-11-082-2/+2
| | | | library.
* Move the option type to its own modulePatrick Walton2010-11-057-47/+70
|
* Revert "Move the option type to its own module"Patrick Walton2010-11-055-54/+31
|
* Move the option type to its own modulePatrick Walton2010-11-055-31/+54
|
* Shift obj, type, param decls to have strata rather than effects.Graydon Hoare2010-11-021-15/+15
|
* Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare2010-11-022-19/+19
| | | | impure-effect checking.
* First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare2010-11-022-3/+3
|
* rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton2010-10-281-1/+1
| | | | value
* Revert "rustboot: Emit an error instead of asserting in trans when a T is ↵Patrick Walton2010-10-281-1/+1
| | | | | | passed by value" due to test failures This reverts commit ee901858a27bf00c7dd66e7cfecb9dd97029dba8.
* rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton2010-10-281-1/+1
| | | | value
* rustc: Add an "_" prefix to assembler-generated symbols on MacPatrick Walton2010-10-223-0/+11
|
* Add some filename helpers to os.Graydon Hoare2010-10-223-0/+25
|
* Change vec slice to use uint, add push/pop/shift/unshift.Graydon Hoare2010-10-221-6/+29
|
* 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-212-0/+464
|
* Disable use of parametric tail call in map.rs, they don't presently work.Graydon Hoare2010-10-181-1/+3
|
* Make list.find return an option of different type than the list element.Graydon Hoare2010-10-181-7/+7
|
* Flesh out the std.list module a touch.Graydon Hoare2010-10-181-0/+49
|
* Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵Graydon Hoare2010-10-152-1/+17
| | | | rustc to use std.util.option. Fix various dependent bugs. Closes #73.
* Patchwork of attempted fixes to effect system and gc system; eventually give ↵Graydon Hoare2010-09-291-15/+15
| | | | up and disable it entirely in the runtime. Will need extensive reworking.
* Add 'items' iter to hashmap.Graydon Hoare2010-09-221-0/+12
|
* Reformat standard library; no code changes.Graydon Hoare2010-09-2216-708/+852
|
* Add some basic string functions: index, rindes, find, substr, split, concat, ↵Graydon Hoare2010-09-221-0/+119
| | | | connect.
* Tighten pattern parsing on 0-ary constructors.Graydon Hoare2010-09-211-2/+2
|
* Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare2010-09-203-24/+24
| | | | translate 0-ary constructors as constants. Rustc loses ~300kb.
* Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare2010-09-094-3/+11
| | | | work, possibly a little bumpy. Changes a lot.
* Add a little pointer-cast helper to dbg.Roy Frostig2010-09-061-0/+5
|
* Test multi-ref'ed vec growth more seriously than before.Roy Frostig2010-09-031-0/+5
|
* Test the hashmap more, exercising hash collision, element removal, and a ↵Roy Frostig2010-08-261-6/+11
| | | | forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
* Make vreg constrs per-quad, regfence on nontrivial constrs, back out ↵Graydon Hoare2010-08-261-3/+1
| | | | workaround to _uint, add regression test. Closes #152.
* Workaround issue #152 in _uint.next_power_of_twoRoy Frostig2010-08-261-1/+3
|
* Actually switch to using the bigger hashmap once a it finishes growing and ↵Roy Frostig2010-08-251-2/+4
| | | | rehashing.