Commit Graph

172 Commits (81c6196dc488d73c9c47e5ccf94e6e8c94e75ad4)

Author SHA1 Message Date
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
Slava Pestov 4b4d93dddd Move at-default from unicode.case to assocs, move 2cache from classes.algebra to assocs, clean up some code to no longer use -rot, rot, pick 2009-01-20 15:27:14 -06:00
Daniel Ehrenberg 11b9dbfcd5 Placating Slava (2) 2009-01-15 16:46:57 -06:00
Daniel Ehrenberg 26b81f4677 Placating Slava 2009-01-15 15:43:42 -06:00
Daniel Ehrenberg 1536ac8b49 Fixing Unicode collation bug 2009-01-11 19:41:48 -06:00
Daniel Ehrenberg fb25d04061 Optimizing and cleaning up unicode.breaks and unicode.normalize 2009-01-09 15:53:35 -06:00
Daniel Ehrenberg 1ed964e539 Speeding up normalization 2009-01-09 14:03:33 -06:00
Daniel Ehrenberg 8d8efb6dce Fixing Unicode bootstrap issue (hopefully) 2009-01-08 22:49:24 -06:00
Daniel Ehrenberg 58df6dad6f Unicode cleanup and optimization 2009-01-08 22:23:39 -06:00
Daniel Ehrenberg ad53cb8635 Privatizing unicode.case:ch>{lower,upper,title} 2009-01-08 19:07:46 -06:00
Daniel Ehrenberg cf3473cc91 Making normalization and case conversion faster 2009-01-08 17:56:52 -06:00
Daniel Ehrenberg e927d84404 Fixing doc errors 2009-01-08 15:38:03 -06:00
Daniel Ehrenberg 4f4198d850 Cleaning up case conversion (still need Lithuanian tests) 2009-01-08 15:00:59 -06:00
Daniel Ehrenberg 1aa0684d45 Case conversion title case fixed 2009-01-07 23:54:19 -06:00
Daniel Ehrenberg 8b351b1ad6 Fixing normalize errors 2009-01-07 23:13:04 -06:00
Daniel Ehrenberg c0ad6b7c55 More docs; more case words public 2009-01-07 21:45:33 -06:00
Daniel Ehrenberg 501fb3ccf1 Unicode docs 2009-01-07 17:59:01 -06:00
Daniel Ehrenberg b3d175821a Unicode word breaks 2009-01-07 15:08:08 -06:00
Daniel Ehrenberg 4dc505f252 Word breaks 2009-01-07 12:23:07 -06:00