Alexander Iljin
924880cb50
Add cp437 8-bit encoding, AKA IBM437
2016-10-27 08:44:15 -07:00
Alexander Iljin
2fd5654473
Add EOL at EOF for all authors.txt files for consistency
...
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson
e146309a0c
io.encodings.binary: move to core.
2016-06-30 12:30:58 -07:00
John Benediktsson
9439c5a684
io.encodings.iso2022: stop using sets:unique.
2016-04-18 21:10:17 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
89ffe8fa82
io.encodints.iso2022: fix unit tests
2015-07-21 19:33:08 -07:00
Doug Coleman
c1a330ac7a
io.encodings.iso2022: use $ instead of making ESC a parsing word.
2015-07-21 17:33:14 -07:00
Doug Coleman
4ec2311406
factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.
2015-07-18 20:14:22 -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
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -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
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
John Benediktsson
8293425783
io.encodings.ascii: moving to core.
2014-05-20 11:47:38 -07:00
John Benediktsson
03b7e67547
fix some help-lint errors.
2014-03-12 20:08:15 -07:00
John Benediktsson
517268c18f
io.encodings.utf7: add copyright for Björn Lindqvist.
2014-01-11 08:55:54 -08:00
Björn Lindqvist
a47c41e45c
io.encodings.utf7: cleaned up vocab per review
...
1. Tuple is used to hold the decoding buffer instead of a global
2. Fixed problematic sequence type conversions.
2014-01-11 08:43:36 -08:00
Björn Lindqvist
797d73bb8c
io.encodings.utf7: documentation and metadata files
2014-01-11 08:43:36 -08:00
Björn Lindqvist
c286d91289
io.encodings.utf7: working utf7 decoding with tests
2014-01-11 08:43:36 -08:00
Björn Lindqvist
9a7a2648fd
io.encodings.utf7: decoder implementation, doesn't support utf7imap4 yet
2014-01-11 08:43:36 -08:00
Björn Lindqvist
9c90bc0c67
io.encodings.utf7: better encoding using the group-by combinator
2014-01-11 08:43:36 -08:00
Björn Lindqvist
900c670894
io.encodings.utf7: implementation of decoding for new codec utf7
2014-01-11 08:43:36 -08:00
John Benediktsson
473fdc0d84
io.encodings.string: faster decode by using sbufs.
2013-11-24 16:22:29 -08:00
John Benediktsson
13ec450ac8
io.encodings.string: faster for ascii and utf8.
2013-11-24 16:08:26 -08:00
John Benediktsson
0806a8ce15
io.encodings: string>byte-array-fast for when aux>> is f.
2013-11-24 13:43:00 -08:00
Doug Coleman
4bb509ccdf
io.encodings.strict: Fix docs
2013-03-25 11:57:25 -07:00
Doug Coleman
e0216808e2
io.encodings.strict: Rename
2013-03-24 10:11:18 -07:00
John Benediktsson
67a2b9dc9a
io.encodings: speed up ascii and utf8 stream-read-until.
2013-03-18 13:35:22 -07:00
John Benediktsson
68fed78c7d
io.encodings.strict: some fixes.
2013-03-15 07:55:20 -07:00
Doug Coleman
ce72121c7a
basis: End <PRIVATE with PRIVATE>.
2013-03-10 22:36:57 -07:00
Doug Coleman
d7a61ae809
io.encodings.utf32: Fix unmatched <PRIVATE.
2013-03-10 22:20:59 -07:00
Doug Coleman
27f445d505
assocs: Add sift-keys and sift-values. Remove three other implementations
...
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
Joe Groff
b26ddc37e8
io.encodings.iana: remove values
2011-11-29 13:22:23 -08:00
Joe Groff
1ef6fc03e6
remove values vocab
2011-11-28 21:26:33 -08:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Joe Groff
5a3537b90a
io.files: add file-reader, file-writer mixins
...
This lets us do some trickery so that the stream-element-type propagates from <file-reader>/<file-writer>. For #376 .
2011-11-09 14:43:39 -08:00
Joe Groff
bf0c7eaa22
io.encodings.string: make binary decode/encode nop
...
Fixes #319 .
2011-10-31 11:07:44 -07:00
John Benediktsson
5a943b32c4
Remove stack effects from HELP: declarations.
2011-10-20 19:36:11 -07:00
Joe Groff
5c945595ee
io.encodings.string: faster decode and encode
...
stream-contents is apparently way slow for decoders. Write decode out more directly as a read1/push loop so it's faster. encode isn't quite as bad, but we can still get a 25% speed improvement by writing to an appropriately sized byte-vector.
2011-10-17 21:23:02 -07:00
Doug Coleman
2402345794
Add examples to encode/decode docs.
2011-10-06 13:21:18 -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
John Benediktsson
baac978767
Removing "to:" syntax from values.
...
Squashed commit of the following:
commit 18fef6bfa59f71dcb63b439f631c735848a9bbbb
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Mon Sep 26 11:02:26 2011 -0700
vocabs.metadata: revert mistaken change.
commit 496b103b54034ea953882a039c08847d0eda0bb4
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Sun Sep 25 19:03:54 2011 -0700
values: Removing "to:" syntax.
2011-09-26 11:08:26 -07:00
Keita Haga
e374d55d09
io.encodings.8-bit.latin9, io.encodings.shift-jis: fix typo in docs. offical => official
2011-02-21 02:53:35 +09:00
Doug Coleman
bdecd564a3
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Slava Pestov
2eda6fc6aa
io.encodings: add a fast-path for ascii, utf8 and 8-bit encodings when string only contains ASCII characters
2010-04-19 01:14:00 -05:00