Commit Graph

30 Commits (github/freebsd-work)

Author SHA1 Message Date
John Benediktsson 4a144e5ea7 more test IN: cleanup. 2018-02-15 08:45:08 -08:00
John Benediktsson 9a34af7381 money: adding support for floats. 2017-01-25 16:44:25 -08:00
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
John Benediktsson eb4bbab417 money: more of this should be public. 2016-04-19 07:29:42 -07:00
John Benediktsson 0609f790c7 money: cleanup. 2016-04-18 20:16:33 -07: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
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 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 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Doug Coleman 4fef246ca4 add 10^ to math.functions and update usages 2009-08-11 18:00:24 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Doug Coleman 3ab0d03a19 extra: swap 3append -> glue, remove some >r r> 2008-12-03 19:11:55 -06:00
Doug Coleman 1ba6eee2c0 DECIMAL: 23 did not parse. remove >r, add symbol for currency 2008-11-29 12:03:07 -06:00
Doug Coleman b8f8d1f159 dont use lib 2008-10-02 17:51:08 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Doug Coleman ad890e8a31 if-empty changes 2008-09-06 17:15:25 -05:00
Doug Coleman 0589e061e1 factor out money>string 2008-09-06 13:58:14 -05:00
Slava Pestov f6ef258f0d Oops 2008-07-29 00:05:50 -05:00
Slava Pestov 4cb64aaeb8 Fixing unit tests for eval word being moved 2008-07-29 00:05:01 -05:00
Slava Pestov 6e0d35e615 Split up huge parser vocabulary 2008-06-25 03:25:08 -05:00
Slava Pestov 29fa4a8a54 assoc-find is no longer generic 2008-06-09 05:22:21 -05:00
erg 73352a3437 better error reporting for DECIMAL: 2008-05-20 10:17:34 -05:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Doug Coleman 008da8a6ba cleanup on aisle DECIMAL: 2008-02-11 16:45:38 -06:00
Doug Coleman 0699bacf86 add money library 2008-02-11 16:21:59 -06:00