Commit Graph

181 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
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
Slava Pestov 17b095a524 Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array 2010-02-25 04:50:31 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13: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
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Doug Coleman 1476cdb974 reverse-here -> reverse! 2009-10-28 14:40:15 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 030b1b816c Add inline declarations for various assorted methods 2009-08-17 22:32:21 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov b4088373b7 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-04 05:16:47 -05:00
Slava Pestov a63ad6a7a5 Remove cruddy string encoding/decoding code from VM 2009-05-02 13:45:38 -05:00
Doug Coleman 471fe2c272 rename lines to stream-lines
rename cnotents to stream-contents
2009-05-01 10:41:27 -05: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
Slava Pestov 1dfa621f4d Tweak some code to reduce deployed image size 2009-03-31 08:03:27 -05:00
Slava Pestov 5a9dbc2c0f Remove useless declarations 2009-03-23 01:18:24 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Slava Pestov b9459fb860 Minor cleanup in io.encodings.iso2022 2009-03-21 04:14:18 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Daniel Ehrenberg 9de4083fc0 ISO 2022-JP-1 implementation 2009-03-20 16:15:26 -05:00
Daniel Ehrenberg 91aec52a1e Fixing io.encodings.iana help lint 2009-03-20 02:20:31 -05:00
Daniel Ehrenberg 68a81675c0 io.encodings.iana no longer throws errors for name>encoding/encoding>name 2009-03-18 18:13:11 -05:00
Slava Pestov cc9e81f27c Help lint and meta-data fixes 2009-03-08 01:49:06 -06:00
Daniel Ehrenberg f9283bd0af Fixing case of reference to file in Big5 encoding 2009-03-07 16:53:48 -06:00
Slava Pestov 7b9491066c Fix conflict in images vocab 2009-03-04 21:43:56 -06:00
Daniel Ehrenberg 3a6d9e912f Minor bug fixes 2009-03-02 23:31:13 -06: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
Daniel Ehrenberg 0bff96a990 Factoring out EUC code 2009-03-02 18:22:55 -06:00
Yun, Jonghyouk 43fc1d7029 io.encodings.japanese eucjp encode-char working... 2009-03-01 23:49:33 +09:00
Yun, Jonghyouk f4c5412337 io.encodings.japanese eucjp=>decode-char proper working version! 2009-03-01 22:54:00 +09:00
Yun, Jonghyouk 9a49a1b837 io.encodings.korean iso2022kr ... 2009-03-01 17:23:41 +09:00
Yun, Jonghyouk dceda349cd io.encodings.korean iso2022kr encode-char working version 2009-03-01 17:17:01 +09:00
Yun, Jonghyouk 7903319263 io.encodings.japanese eucjp ... 2009-03-01 12:38:17 +09:00
Yun, Jonghyouk 4f02c5648e io.encodings.korean iso2022kr encoding working... 2009-03-01 04:32:24 +09:00
Yun, Jonghyouk c763d92e12 io.encodings.korean iso2022kr encode-char working... 2009-03-01 02:24:03 +09:00
Yun, Jonghyouk 5d70cdfd27 io.encodings.blackhole initial 2009-03-01 01:16:13 +09:00
Yun, Jonghyouk a583af44d9 io.encodings.korean johab documentation 2009-02-28 23:36:53 +09:00
Yun, Jonghyouk 15b6aa212e io.encodings.korean decode-char refactored. 2009-02-28 23:21:05 +09:00
Yun, Jonghyouk cf6a12c55c io.encodings.korean johab, cp949 => encode-char refactoring... 2009-02-28 16:29:25 +09:00
Yun, Jonghyouk fc1199358c io.encodings.korean cp949, johab encode-char/decode-char refactoring... 2009-02-28 15:57:14 +09:00
Yun, Jonghyouk 017fc8f1bf io.encodings.korean johab codetable 2009-02-28 15:11:41 +09:00
Yun, Jonghyouk b02332df40 io.encodings.korean johab encodings initial 2009-02-28 15:10:15 +09:00
Yun, Jonghyouk e36967d3b8 io.encodings.korean modified 2009-02-28 01:34:04 +09:00
Yun, Jonghyouk c3be596926 io.encodings.{asian, korean} updates: i.e.asian docs... 2009-02-28 01:21:24 +09:00
Yun, Jonghyouk c993d7324a * initial: io.encodings.asian vocab
* modify io.encodings.korean to use io.encodings.asian common codetable vocab
2009-02-28 00:57:13 +09:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov 5e19766330 Fix conflict 2009-02-18 22:20:05 -06:00
Yun, Jonghyouk fdad5d4d97 io.encodings.korean TODO removes 2009-02-18 19:19:18 +09:00
Yun, Jonghyouk 89a3e45a3a io.encodings.korean TODOs comment 2009-02-17 21:47:45 +09:00
Yun, Jonghyouk da9ae85637 io.encodings.korean some docs. 2009-02-17 21:46:57 +09:00
Yun, Jonghyouk 8169c35b9e io.encodings.korean TODOs 2009-02-17 16:40:01 +09:00
Slava Pestov 73dfa2ae65 Fix conflict 2009-02-16 21:47:35 -06:00
Doug Coleman f79f49a349 remove empty file 2009-02-16 21:30:22 -06:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 4a639033fa Merge branch 'master' into new_ui 2009-02-15 21:06:55 -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 e8c3fe2afc Use vocab: in io.encodings.korean 2009-02-15 20:08:00 -06:00
Slava Pestov 723dcd334f Merge branch 'master' of git://factorcode.org/git/factor 2009-02-15 20:06:23 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Daniel Ehrenberg 523e0d993d Cleanup and bug fix in io.encodings.korean 2009-02-15 18:01:34 -06:00
ageldama 02e4c14a89 'work' -> 'basis' correction 2009-02-14 10:55:45 +09:00
ageldama eef49a82b5 initial 'io.encodings.korean' commit 2009-02-14 10:42:31 +09:00
Slava Pestov ab386d01aa Merge branch 'master' into new_ui 2009-02-10 16:23:14 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00
Slava Pestov dfa0931db1 Merge branch 'master' into new_ui 2009-02-04 05:26:32 -06:00
Slava Pestov 489019acd0 io.encodings.chinese and io.encodings.japanese: use [1234]byte-array words instead of B{ } new-sequence and [1234]array >byte-array 2009-02-04 05:14:00 -06:00
Slava Pestov 4ee7fb1c30 Minor performance improvement for io.encodings.chinese: don't call 'linear' all the time 2009-02-04 04:58:19 -06:00
Slava Pestov feb5688296 Merge branch 'master' into new_ui 2009-02-04 04:45:33 -06:00
Daniel Ehrenberg 594f21e5bd Fixing HTTP and IANA tests 2009-02-03 19:44:28 -06:00
Daniel Ehrenberg 246c4bb13c Fixing encodings/XML 2009-02-03 17:32:05 -06:00
slava a3e52f283b Fix io.encodings.japanese 2009-02-03 00:33:55 -06:00
slava f340e4d649 Re-add 8dfc63eb99 2009-02-03 00:33:22 -06:00