Commit Graph

46 Commits (master)

Author SHA1 Message Date
Doug Coleman e4579d02e7 units: Add exponentiation operator and a d-cube. 2019-01-05 14:37:00 -06:00
John Benediktsson 6890ec3fe4 extra: remove some unneeded IN: in -tests. 2018-02-14 17:01:11 -08:00
Alexander Iljin dd4b3e6938 units.[imperial|si]: add a couple of Unicode aliases 2018-01-22 07:58:17 -08:00
John Benediktsson 0f1d08a372 using map-reduce instead of unclip reduce. 2017-02-07 12:16:12 -08:00
John Benediktsson 20656f0db8 units.si: extras precision for ``u``. 2017-01-06 18:24:48 -08:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
John Benediktsson 8ccb173da0 units.reduction: avoid double length calls in find-unit-suffix. 2015-07-14 15:58:23 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
John Benediktsson 3394b6e727 units.imperial: fix minims. 2013-05-21 12:48:56 -07:00
John Benediktsson b96a1ab87f units.imperial: adding more units. 2013-05-21 10:38:54 -07:00
Doug Coleman b5d7399060 units: Use ERROR: for dimensions-not-equal. 2013-03-24 10:11:16 -07:00
John Benediktsson cf4d639345 extra: use [-] instead of "- 0 max". 2013-03-05 18:17:17 -08:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
Doug Coleman 683c9c2475 units.imperial: How much is a liter? About eight gills. 2012-03-04 19:43:27 -08:00
Doug Coleman 76580da5d5 Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
2011-09-29 11:28:28 -07:00
Doug Coleman 673d280fc5 Vocabulary to reduce numbers to more convenient representations 2011-09-25 19:32:33 -07:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff a5957b188d nip most uses of tuck from extra 2009-11-05 22:22:21 -06:00
Joe Groff 6c48852fb0 eliminate most spins from extra 2009-11-05 15:34:31 -06:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Doug Coleman 8887fbaa52 remove >r r> 2008-12-14 00:41:30 -06:00
Doug Coleman ad890e8a31 if-empty changes 2008-09-06 17:15:25 -05:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00
Slava Pestov 537269447c Move mirrors out of the boot image 2008-07-02 00:20:01 -05:00
Slava Pestov ba8f1388ab Fixing everything for mandatory stack effects 2008-06-09 02:14:14 -05:00
Doug Coleman 9140e3e452 fix load errors 2008-04-14 03:03:49 -05:00
Doug Coleman f80085ff0a seq-diff -> diff
seq-intersect -> intersect
2008-04-13 23:09:42 -05:00
Doug Coleman 72080fda4a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:27 -05:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Daniel Ehrenberg fbdf62bb1c Making [ mpg ] undo work 2008-03-29 16:18:46 -04:00
Slava Pestov a463e6d9fb Moved seq-intersect to core 2008-03-11 03:36:19 -05:00
Slava Pestov 718adfd81e Comment out units unit test at Dan's request 2008-03-09 06:54:53 -05:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Slava Pestov 1c91a286e5 Updating summary and authors 2008-01-27 01:02:31 -04:00
Slava Pestov e58cbb2cda : spin swap rot ; 2007-12-29 11:36:20 -05:00
Daniel Ehrenberg 33fecfef7d Fixed radians and steradians to be unitless 2007-11-29 12:19:57 -05:00
Slava Pestov 8e985d6c6f Units unit test fix 2007-10-06 13:55:22 -04:00
Slava Pestov 43c83bb4e0 Fixing unit tests 2007-10-06 13:37:11 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00