Commit Graph

4082 Commits (5cfd5ff2240946780c6c700cb6991bcef0e1b716)

Author SHA1 Message Date
Doug Coleman 1f7bf0d6ab splitting: string-lines is optimized for strings. revert my previous slowdown of 50% or so. add a note so this won't happen again. oops. 2016-04-05 21:17:43 -07:00
Doug Coleman aaae4bcf9f splitting-docs: Fix stack effect of string-lines. 2016-04-05 14:50:50 -07:00
Doug Coleman 51b70b2050 core: clean up split-lines with subseq-as. clean up subseq/subseq-as/subseq-unsafe/subseq-unsafe-as. 2016-04-05 12:42:38 -07:00
John Benediktsson 1bc99066a7 strings.parser: allow "\u{snowman}" or "\u{2603}". 2016-04-05 10:19:43 -07:00
John Benediktsson 96336d2f6c sets: make null? use cardinality. 2016-04-04 21:06:21 -07:00
John Benediktsson 68bdd4196b strings.parser: adding error tests. 2016-04-04 15:13:46 -07:00
John Benediktsson 6dd1172a8d strings.parser: fix docs for parse-string. 2016-04-04 15:01:43 -07:00
John Benediktsson 4d83867cb4 strings.parser: remove parse-short-string, everyone should parse-string. 2016-04-04 15:00:04 -07:00
John Benediktsson 42c56a2de1 strings.parser: better string error messages. 2016-04-04 15:00:04 -07:00
John Benediktsson 2269b07d33 use with-temp-file and with-temp-directory in some tests. 2016-04-04 10:33:03 -07:00
John Benediktsson fbfb42c768 vocabs.parser: sift the search-vocabs.
Because non-existing private vocabs are in the search-vocabs list.
2016-03-31 08:36:23 -07:00
Doug Coleman c12b73e929 math: fix docs for binary printing. 2016-03-31 07:46:14 -07:00
Doug Coleman 30d158ccce prettyprint: Print .b .o .h with prefixes so it's not super confusing. Fixes #1351. 2016-03-30 22:59:29 -07:00
Doug Coleman 4d222cc69a syntax: Fix docs for removed article syntax.comments. 2016-03-30 22:55:37 -07:00
Doug Coleman 180a0be647 io.encodings.utf16n: Fix using. 2016-03-30 21:25:44 -07:00
John Benediktsson 77c256412d lexer: make CHAR: ! work. 2016-03-30 21:21:40 -07:00
John Benediktsson 52a3f6f309 lexer: support universal comments. 2016-03-30 21:09:08 -07:00
Doug Coleman c133c16377 core: Trim using lists from -tests and clean up a few irregularities. 2016-03-30 18:43:41 -07:00
Doug Coleman 80d0baaa7d io.files: make tests not use temp-file 2016-03-30 17:31:32 -07:00
Doug Coleman 9e9b7fe367 io.streams.c: use unique-file 2016-03-30 17:31:32 -07:00
Doug Coleman fe7d6ea76e io.pathnames: don't use temp-file 2016-03-30 17:31:32 -07:00
John Benediktsson 24d9e3a491 effects.parser: allow generic methods not in current vocabs. 2016-03-30 17:21:58 -07:00
John Benediktsson 0d1f9f9e01 parser: require an IN: for any word definitions (even generics). 2016-03-30 16:14:16 -07:00
John Benediktsson 267706c4d6 io.encodings: add a test that tell doesn't work anymore. 2016-03-30 15:19:04 -07:00
John Benediktsson 48b3ec47f7 Revert "io.encodings: Add a stream-tell method for decoder streams."
This reverts commit 417b8abbeac013e20b2b360aa215c38604bd18fc.
2016-03-30 15:16:19 -07:00
John Benediktsson 4ce62e0827 math.parser: add tests for change to not throw zero division. 2016-03-30 14:31:37 -07:00
Jon Harper 0b98eb121e math.parser: number>string, don't throw zero division on '1/0' 2016-03-30 14:29:37 -07:00
John Benediktsson dcf8aa16c7 effects.parser: fix some incorrect can't-nest-definition errors.
definitions in one vocabulary can trigger definitions in other vocabularies,
so track them separately instead of using a single boolean.
2016-03-30 13:16:15 -07:00
John Benediktsson 1721f9e314 fix some tests for the sets:set change. 2016-03-29 20:43:46 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson e7a42b1dc4 sets: rename unordered-set back to set. 2016-03-29 15:46:29 -07:00
Björn Lindqvist eca6dfac15 bootstrap.image.primitives: new vocab to make primitive declarations better 2016-03-29 23:52:29 +02:00
John Benediktsson 7dbe6c177e vocabs: words-named should't f suffix. 2016-03-29 13:14:24 -07:00
John Benediktsson 7aa0e16df8 vocabs: support qualified lookups in no-word restarts. 2016-03-29 13:03:59 -07:00
John Benediktsson 3f18b71d07 cleanup some QUALIFIED: that are no longer needed. 2016-03-29 10:20:16 -07:00
John Benediktsson b1be11f39c vocabs.parser: all USE: vocabs are also QUALIFIED:. 2016-03-29 10:20:16 -07:00
John Benediktsson 7d0c596c92 Hopefully fix stack effects of error hooks to throw when required. 2016-03-28 22:27:35 -07:00
Doug Coleman 20aadd5688 core: rename some double paren words. 2016-03-25 03:13:27 -07:00
Doug Coleman 9db94d33d6 io.streams.sequence: make some errors into ERROR:. rename double paren word. 2016-03-25 03:13:27 -07:00
Doug Coleman 92afdc3ad0 hashtables: rename ((tombstone)) to +tombstone+, ((empty)) to +empty+ 2016-03-25 03:13:27 -07:00
Doug Coleman 58efceb408 effects.parser: Remove left-over old code that did (( -- )) stack effects. 2016-03-25 03:13:27 -07:00
Björn Lindqvist 579875821b VM: removes the OBJ-ERROR special object in favor of a constant
The special object contained the string "kernel-error" which were used
to tag VM errors. But it is simplier and removes a little complexity to
just tag them with a fixnum constant.
2016-03-22 17:52:19 +01:00
John Benediktsson 0d2859124e checksums: remove hex-string in favor of math.parser:bytes>hex-string. 2016-03-21 21:06:22 -07:00
John Benediktsson 9cc73c9492 graphs: move to core and simplify.
1. remove add-vertex* and remove-vertex* that contradicted the documentation.
2. graphs use hash-sets of edges instead of hashtables of {edge,edge} pairs.
3. make graphs:closure work like classes:closure, use in classes.
2016-03-21 10:20:38 -07:00
Björn Lindqvist 85c3ccbb98 slots: add initial value for integer-array-capacity, fixes part of #1571 2016-03-21 18:10:39 +01:00
John Benediktsson 4d2baf5d50 kernel: improve docs for ?. 2016-03-20 10:36:23 -07:00
John Benediktsson 6b07e6caf2 math: rename fast-gcd to simple-gcd. 2016-03-19 12:20:09 -07:00
Björn Lindqvist c7ed8a88bb bootstrap.primitives: new predicate integer-array-capacity
It is to be used to declare values for better optimizations.
2016-03-18 20:21:51 +01:00
John Benediktsson baae677276 io.files.unique: change to create unique files and directories relative to the current-directory. 2016-03-18 10:57:54 -07:00
Doug Coleman d4b8e44399 license rename: fix the rest of it. 2016-03-17 02:36:34 -07:00