Commit Graph

3371 Commits (0f7e41b7d6e7780a8a9d103618699a73acb8d017)

Author SHA1 Message Date
Doug Coleman 126a3e486f syntax: Clarify that inlined words can also be compiled stand-alone. 2012-07-23 12:18:43 -07:00
Doug Coleman f37b12e689 math.integers: Bignum hashcode* -- call bignum>fixnum to avoid a dispatch. 2012-07-23 09:38:12 -07:00
Doug Coleman c25d044788 compiler: Fix bitand on ratios, floats. Fix shift on ratios, floats. Add integer>fixnum. Fixes #500. 2012-07-23 09:31:12 -07:00
John Benediktsson 8172f3be00 kernel: adding docs for "same?" 2012-07-21 19:43:16 -07:00
John Benediktsson 8478be295d make: switch to with-variable instead of with-scope. 2012-07-21 10:44:54 -07:00
John Benediktsson e654e4afd9 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson e52f03f0c9 kernel: adding "same?" which is "bi@ =". 2012-07-21 10:22:29 -07:00
John Benediktsson 8cf4ce1950 vocabs.parser: speedup parse-datum for numbers. 2012-07-20 22:48:47 -07:00
John Benediktsson 510c0481c5 namespaces: do not create globals via "foo get". 2012-07-20 15:09:06 -07:00
Doug Coleman c22744b8c2 continuations: change continuation word to current-continuation. continuation is now just the tuple name. issue #358 2012-07-20 12:30:14 -07:00
John Benediktsson 1a9f943dab help: don't make word help create global boxes. 2012-07-20 12:00:47 -07:00
Doug Coleman 0a32a2a964 hashtables: Revert size of associate, but keep inlined. ~10s speedup on bootstrap 2012-07-20 09:30:37 -07:00
John Benediktsson ce74e71609 hashtables: use H{ } clone in associate, make it inline. 2012-07-20 09:04:51 -07:00
John Benediktsson 5014d40294 assocs: inline assoc-empty? and make M\ enum at* not check bounds twice. 2012-07-20 09:04:51 -07:00
John Benediktsson 4f2b406203 sequences: fix typo in docs for shorten. 2012-07-20 09:04:51 -07:00
Doug Coleman b0271d8a79 namespaces: Oops, one escaped the lab 2012-07-20 08:38:53 -07:00
Doug Coleman c875e32f0a make: Add ,+ to make 2012-07-19 17:47:50 -07:00
John Benediktsson 5fbb370e2a make: change default size of make-assoc. 2012-07-19 13:53:42 -07:00
John Benediktsson 7104c2d7b9 using the new H{ } make. 2012-07-19 09:50:09 -07:00
John Benediktsson 7b36631d0a fixing some docs. 2012-07-19 09:47:14 -07:00
John Benediktsson 1e6567e62b make: allow make to be used to create assocs. 2012-07-19 09:35:28 -07:00
Doug Coleman 9a220ef78c namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
John Benediktsson 7c623cad28 sequences: faster last / set-last. 2012-07-18 12:31:53 -07:00
John Benediktsson e165c4478c Revert "alien: these make "utf8 encode" 7-8% faster."
This reverts commit c9664e746b.
2012-07-18 07:56:05 -07:00
John Benediktsson c9664e746b alien: these make "utf8 encode" 7-8% faster. 2012-07-17 22:52:37 -07:00
John Benediktsson d5f4636693 assocs: faster map>assoc. 2012-07-17 15:28:44 -07:00
John Benediktsson 4c5fb438a0 graphs: simplify by removing temporary namespace variables. 2012-07-17 11:00:38 -07:00
John Benediktsson c855074412 io: simplify stream-exemplar. 2012-07-16 19:30:10 -07:00
John Benediktsson f543f8b4a1 sequences: prepend-as should be inlined. 2012-07-16 11:54:32 -07:00
John Benediktsson b1c3ad6a72 vocabs: faster check-vocab-name. 2012-07-15 14:21:25 -07:00
John Benediktsson 3797975df7 splitting: slightly faster string-lines. 2012-07-13 20:26:07 -07:00
John Benediktsson d38a3fc44a "H{ } substitute" is faster than "{ } substitute". 2012-07-13 19:06:38 -07:00
John Benediktsson c6bbeffe54 splitting: string-lines is 30-70% faster. 2012-07-13 18:24:45 -07:00
John Benediktsson e292492653 io.streams.sequence: faster stream-read-until. 2012-07-11 18:26:41 -07:00
Doug Coleman b9babdfa48 parser: Drunk coding is buzzed coding. 2012-06-21 17:35:24 -07:00
Doug Coleman 13b1c184a7 parser: last fix. 2012-06-21 14:18:55 -07:00
Doug Coleman ff8e144340 renaming fixes: Forgot some words. 2012-06-21 11:54:43 -07:00
Doug Coleman dcb71dcea8 issue #358: rename no-current-vocab 2012-06-21 08:38:05 -07:00
Doug Coleman dca84c4194 issue #358: Rename check-method and check-mixin-class TUPLE:s to ERROR:s. 2012-06-21 08:35:41 -07:00
John Benediktsson 2edcde1060 splitting: adding split*, a variant that keeps elements we split upon. 2012-06-20 19:57:11 -07:00
John Benediktsson ab2c150363 io.streams.memory: adding with-memory-reader. 2012-06-18 17:24:21 -07:00
John Benediktsson 1a72249983 math: using if-zero in more places. 2012-06-18 14:32:39 -07:00
John Benediktsson 8f8c00c9f5 math.parser: simplify error types. 2012-06-08 07:32:01 -07:00
John Benediktsson 82f4fa723d math.parser: add some tests for errors. 2012-06-06 15:14:52 -07:00
John Benediktsson 530ff420c7 math.parser: better error messages suggested by @erg. 2012-06-06 15:12:33 -07:00
John Benediktsson ab75394ffc math.parser: only allow 10 and 16 base for float>base. 2012-06-06 14:50:07 -07:00
Doug Coleman 8dc2a16a2d classes.tuple: Better error message for tuples that try to inherit from themselves. Add must-fail tests for tuples that try to inherit from themselves and for inheriting from a generic.
Fixes #412.
2012-06-01 16:59:03 -07:00
John Benediktsson 355e140785 sequences: un-inline prepend to fix "cannot call" error. 2012-05-29 15:58:19 -07:00
John Benediktsson a63bd9e2ba sequences: change prepend to return type of first sequence to match append. 2012-05-29 11:59:03 -07:00
Felix Kaiser 3cdbfe8e42 parser: fix typo in docs 2012-05-20 00:34:51 +02:00