John Benediktsson
b2de82042c
io.encodings.8-bit: adding KZ-1048 and KOI8-U.
2018-03-02 16:09:21 -08:00
John Benediktsson
6d2abd0122
io.encodings.8-bit: adding cp424.
2018-03-01 10:48:08 -08:00
John Benediktsson
6d1bb9e1ba
io.encodings.8-bit: reimplement M\ 8-bit encode-string.
2018-02-28 10:35:33 -08:00
John Benediktsson
1b3a07ca44
io.encodings.8-bit: save 37% memory space by "compressing" codetable.
...
Instead of a biassoc with from/to hashtables, we make a from array that
is 256 length, using indexing instead of hashing since we know 8-bit
characters are [0,255] and the to hashtable.
2018-02-28 10:22:13 -08:00
John Benediktsson
557a6cca69
io.encodings.8-bit: remove latin1 help for now.
2018-02-28 09:56:04 -08:00
John Benediktsson
0ab7ed6979
io.encodings: use new latin1 instead of 8-bit encoding from file.
2018-02-28 08:56:01 -08:00
John Benediktsson
ca2612b906
io.encodings.8-bit: simplify by not implementing encode-string.
2018-02-26 15:19:53 -08:00
John Benediktsson
b74e8d3c22
Revert "io.encodings.8-bit: adding CP874."
...
This reverts commit 9cccb4de95
.
2018-02-26 12:30:11 -08:00
John Benediktsson
9cccb4de95
io.encodings.8-bit: adding CP874.
2018-02-26 11:45:11 -08:00
John Benediktsson
85b69b5b49
io.encodings.8-bit: more encodings, and reduce hierarchy.
2018-02-26 10:21:35 -08:00
John Benediktsson
ca03896d74
more test IN: cleanup.
2018-02-15 09:20:01 -08:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
John Benediktsson
f342fd04d9
simple-flat-file: rename flat-file>biassoc to load-codetable-file.
2017-02-03 11:47:28 -08:00
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
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
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
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
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -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
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
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
Doug Coleman
1ff1e3f4bc
add docs to 8-bit encodings vocabs, update usages
2009-11-12 18:36:20 -06:00
Doug Coleman
2b5d361cca
add more 8-bit windows encodings
2009-11-12 16:42:47 -06:00
Doug Coleman
b7745fea3c
add new 8-BIT: word
2009-11-12 16:38:21 -06:00
carlok
42fc3c0f05
Add support for CP-1250 encoding
2009-11-05 07:35:16 +01:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
0d0c7f2d55
Fix unit test failures caused by stricter type checking in M: encoder stream-write
2009-04-20 20:05:17 -05:00
Daniel Ehrenberg
8c61791364
Big5 encoding; simple-flat-file vocab abstracts parsing out; EUC code factored out; Asian encoding vocabs renamed
...
Merge branch 'master' of git://github.com/ageldama/factor
Conflicts:
basis/io/encodings/korean/korean-docs.factor
basis/io/encodings/korean/korean-tests.factor
basis/io/encodings/korean/korean.factor
2009-03-02 23:19:06 -06:00
Slava Pestov
eaad0c7660
Updating code to use CONSTANT: instead of : foo 123 ; inline
2009-02-23 21:40:17 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Slava Pestov
ebd0e9250f
Clean up some <file-reader> usages to use file-lines, file>csv, and file>xml instead
2009-02-15 20:45:06 -06:00
Slava Pestov
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Daniel Ehrenberg
246c4bb13c
Fixing encodings/XML
2009-02-03 17:32:05 -06:00
Daniel Ehrenberg
3c75dfd2e0
Shift-JIS support; minor cleanup of io.binary
2009-02-01 23:47:36 -06:00
Slava Pestov
298fdecf32
Fixing eval unit test, and help lint failures from stricter help lint
2009-01-27 15:38:01 -06:00
Slava Pestov
92141af349
Get mason to load
2008-12-17 18:22:48 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
40e926609a
Fixing unit tests
2008-08-22 22:07:59 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00