Doug Coleman
8c19602ae9
assocs: Add of and ?of. Change all the things at once! Fixes #701 .
2013-03-23 14:59:07 -07:00
Doug Coleman
ce72121c7a
basis: End <PRIVATE with PRIVATE>.
2013-03-10 22:36:57 -07:00
John Benediktsson
1524d43c9c
sequences: define a single "?set-nth" that is used.
2013-02-20 10:42:21 -08:00
John Benediktsson
55cfbf072f
sequences: fix uses of set-nth-unsafe.
2013-02-20 08:01:06 -08:00
John Benediktsson
f8f5feed4a
sequences: normalize all the "?set-nth" words, probably this should be a stdlib thing.
2013-02-19 16:52:40 -08:00
Doug Coleman
10e74c6066
sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests.
2013-01-03 16:44:25 -08:00
John Benediktsson
f71d01ea7e
unicode.case: fix stack effect for replace.
2013-01-03 15:33:19 -08:00
John Benediktsson
40a8936fe6
unicode.breaks: inline word-break-classes.
2012-09-19 10:33:52 -07:00
John Benediktsson
61707f1e5c
unicode.data: inline category#.
2012-09-11 20:21:31 -07:00
John Benediktsson
40992bd3b6
unicode.case: fix tests for i-dot? and lithuanian? change.
2012-08-30 13:33:35 -07:00
John Benediktsson
d3fc7ef6c2
unicode.case: slightly cleaner locale case handling.
2012-08-30 11:32:12 -07:00
John Benediktsson
625da03282
unicode.case: slightly faster >title.
2012-08-24 15:16:27 -07:00
John Benediktsson
17008536a6
unicode.breaks: removing unused word.
2012-08-24 14:58:05 -07:00
John Benediktsson
eef5aea9a7
unicode.breaks: better version of previous patch.
2012-08-24 14:57:26 -07:00
John Benediktsson
29a11cc21a
Revert "unicode.breaks: use find-index-from instead of slices."
...
This reverts commit 0aeb2174fb
.
2012-08-24 14:10:19 -07:00
John Benediktsson
8a872a25b5
unicode.breaks: use find-index-from instead of slices.
2012-08-24 12:25:40 -07:00
John Benediktsson
0fc94f90c7
unicode.collation: fix typo in docs.
2012-07-22 14:00:55 -07:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
559b5bfa5b
using the new H{ } make.
2012-07-19 09:50:09 -07:00
John Benediktsson
2900fb9361
unicode.data: faster string operations by using constants instead of globals.
2012-07-15 13:57:05 -07:00
John Benediktsson
4f260ab9bd
"H{ } substitute" is faster than "{ } substitute".
2012-07-13 19:06:38 -07:00
John Benediktsson
5e16810075
using reverse! when possible.
2012-04-25 20:09:36 -07:00
John Benediktsson
fcf2f3b4cc
unicode: Fix some $vocab-links in docs.
2011-12-29 17:32:05 -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
John Benediktsson
81714b8dc3
More lint cleanups.
2011-10-16 19:33:16 -07:00
John Benediktsson
c8732657b7
Cleanup more lint warnings.
2011-10-16 13:01:58 -07:00
Doug Coleman
933319f401
Cleanups found with lint tool
2011-10-14 10:15:13 -07:00
John Benediktsson
0075b6bc28
sequences: adding find-index.
2011-10-12 19:41:54 -07:00
John Benediktsson
6dc8af83fd
unicode.data: remove dependency on hash2.
2011-10-12 15:17:56 -07:00
John Benediktsson
e7489ba16a
unicode.breaks: >words is now 90+% faster.
2011-10-12 11:04:19 -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
John Benediktsson
1fa63f97f0
Removing unused private words. See #132 .
2011-09-25 11:43:26 -07:00
Joe Groff
2bd6de9a02
slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global
2011-09-19 10:03:43 -07:00
John Benediktsson
d58bc08aa0
Update code that did ">alist sort-" to just "sort-".
2011-04-07 09:01:21 -07:00
Keita Haga
6311675925
unicode.collation: fix typo in docs
2011-01-17 14:36:46 +09:00
Doug Coleman
a4b25443f4
Move ch-upper? from unicode.case to ascii
2010-10-08 06:34:20 -07:00
Doug Coleman
78cb1140f4
Add ch-upper? and ch-lower? words
2010-10-05 09:56:30 -05:00
Doug Coleman
7c161e274c
Use proper unicode collation for sorting strings, and make the w/collation-key public
2010-09-21 00:03:03 -05:00
Doug Coleman
bdecd564a3
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Erik Charlebois
baab8c060d
Remove ENUM: f and replace uses with CONSTANTs.
...
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
Joe Groff
4bc915d526
C-ENUM: -> ENUM:
2010-04-19 20:07:16 -07:00
Erik Charlebois
5768ae0af4
Forget to save some files for enum change
2010-04-10 00:12:59 -07:00
Daniel Ehrenberg
da57436180
Finishing eliminating prune as a synonym of members
2010-02-27 14:52:24 -05:00
Daniel Ehrenberg
7074979745
Moving new-sets to sets
2010-02-26 16:01:01 -05:00
Slava Pestov
e32d5fd0ac
Minor updates to string documentation
2010-02-03 23:07:53 +13:00
Daniel Ehrenberg
8d0705805b
Updating docs to say Unicode 5.2
2010-02-02 01:49:24 -06:00
Daniel Ehrenberg
6cc2d0f1d7
Updating Unicode to version 5.2
2010-02-02 01:38:17 -06:00
Joe Groff
f0f3252113
unicode.case: rename title-word to capitalize and make it public
2010-01-22 15:06:04 -08:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06: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
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
Daniel Ehrenberg
7718cce339
More features in the unicode.breaks API, with documentation
2009-07-03 21:22:46 -05:00
Slava Pestov
37b01357ec
Remove unused words discovered by Samuel Tardieu
2009-06-16 16:38:39 -05:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Doug Coleman
5a3a14d1c9
remove at-default. it was hardly used and it's just '?at drop'
2009-05-24 21:46:59 -05:00
Slava Pestov
a0eb60906d
Fix even more usings
2009-05-16 10:45:17 -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
3353a777f7
Fixing some unit test failures
2009-04-22 07:05:00 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
99b8400e56
Documentation updates
2009-04-06 03:00:46 -05:00
Daniel Ehrenberg
4ef0344477
Tabs are blank (better unicode whitespace support coming soon)
2009-04-02 01:12:09 -05:00
Daniel Ehrenberg
95d9b3a417
Adding functionality to unicode breaks API for future UI changes
2009-03-31 21:48:43 -05:00
Slava Pestov
6c0986f8b2
Add definition mixin in definitions vocab to replace hard-coded union in ui.tools.operations; add ?execute to kernel to replace dup word? [ execute ] when calls in unicode.breaks and opengl
2009-03-26 21:27:45 -05:00
Slava Pestov
3de9723d22
Update unicode.categories.syntax
2009-03-21 03:32:10 -05:00
Daniel Ehrenberg
4f83e2057a
Making unicode.categories.syntax use member?, simplifying the code
2009-03-21 03:17:20 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Daniel Ehrenberg
c6fc88f28f
Unicode categories syntax cleanup
2009-03-21 01:18:25 -05:00
Daniel Ehrenberg
62638fb4d3
Moving unicode.syntax to unicode.categories.syntax; documenting and modifying syntax
2009-03-21 01:11:45 -05:00
Daniel Ehrenberg
f3038f2ae8
More docs for Unicode and simple-flat-file; moving more parsing code there
2009-03-20 19:53:54 -05:00
Daniel Ehrenberg
e951fb773a
Fixing unicode script help
2009-03-19 01:06:25 -05:00
Daniel Ehrenberg
9ad3d34f66
Normalization tests also use simple-flat-file!
2009-03-18 22:55:02 -05:00
Daniel Ehrenberg
4aa430cfd7
Moving more parsing code to simple-flat-file
2009-03-18 22:49:06 -05:00
Daniel Ehrenberg
1dd34ad776
Reorganizing Unicode data, so that the data tables are private; ch>upper moves to unicode.data
2009-03-18 21:04:36 -05:00
Daniel Ehrenberg
3e63d3eb01
Fixing Unicode docs
2009-03-18 20:02:03 -05:00
Daniel Ehrenberg
ba9938c30f
Reorganizing things in regexp, mostly
2009-03-18 16:09:45 -05:00
Daniel Ehrenberg
54194d269c
Some reorganizing in Unicode; regexp class changes
2009-03-17 19:39:04 -05:00
Daniel Ehrenberg
4a79ee9bb9
Making unicode.data slightly more efficient
2009-03-17 00:04:27 -05:00
Daniel Ehrenberg
8b286cea4c
Adding word breaks to regexp
2009-03-11 15:51:54 -05:00
Slava Pestov
25a877e50b
Merge OneEyed's patch
2009-02-28 17:06:55 -06:00
Slava Pestov
cd53c2bd37
produce and produce-as: don't need third quotation either
2009-02-28 15:31:34 -06:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -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
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Slava Pestov
043b77c702
Fix conflict
2009-02-08 00:07:59 -06:00
Slava Pestov
dd9cf39467
Fix conflict in libc
2009-02-06 05:10:41 -06:00
Daniel Ehrenberg
28e644209c
Unicode.case supports lithuanian properly (hopefully)
2009-02-06 00:42:46 -06:00
Daniel Ehrenberg
0dd811557b
Removing sequences.next
2009-02-05 20:28:36 -06:00
Slava Pestov
aa331e451b
Eliminate more tuck usages
2009-02-02 16:11:16 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Daniel Ehrenberg
391d6db9fe
Cleaning up Unicode docs
2009-01-28 23:45:12 -06:00
Slava Pestov
1951d739a0
Stack effect declarations are mandatory on all words now
...
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
Slava Pestov
d4122b5715
Update Unicode docs
2009-01-25 23:03:49 -06:00
Slava Pestov
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00