Commit Graph

465 Commits (9e5b6424a1a9eda7609916b43ac21a7b39d02f8c)

Author SHA1 Message Date
Chris Double 296be06d06 Initial space invaders commit. 2005-09-08 01:36:22 +00:00
Chris Double 99d8520dda Add gadgets-layouts USE for 0.77 changes 2005-09-04 01:14:46 +00:00
Chris Double f53ee2a522 Fixup contributions for changes from recent cvs updates. 2005-09-02 03:38:27 +00:00
Daniel Ehrenberg e6a24eb355 new version of make 2005-09-01 20:07:22 +00:00
Doug Coleman 416834a0c9 removed rot4
removed temp from sha1
removed + + + +, using vector sum instead
2005-09-01 05:43:25 +00:00
Daniel Ehrenberg c4f0756b66 getting rid of seq-stupid-all 2005-08-30 18:53:23 +00:00
Doug Coleman 55ce64a477 Using 'cond' instead of the hashtable with stored quotations.
string>sha1 should compile once 'cond' compiles.
2005-08-30 17:54:54 +00:00
Doug Coleman 73c671ef24 Factoring some crap code into something better: nested ifte -> hash w/ stored quotations
Moved sha1 algorithm into separate words for each step
2005-08-29 22:35:34 +00:00
Doug Coleman 27c273a2cd Changed to work with the new make word. 2005-08-29 05:44:32 +00:00
Doug Coleman 36e2875836 Added bitroll. 2005-08-27 19:54:31 +00:00
Chris Double c19ec60942 fix eval-responder for recent factor changes 2005-08-27 03:46:46 +00:00
Daniel Ehrenberg b4c8ef9df4 removing obsolete files and updating readme (still incomplete) 2005-08-25 22:13:52 +00:00
Daniel Ehrenberg 2ca86efb1d parse-k updates 2005-08-25 22:02:30 +00:00
Slava Pestov 45109c1a0a major cleanup 2005-08-25 19:27:38 +00:00
Doug Coleman 762d2913a1 Added sha1.factor
Updated md5 to Factor .77
Added common.factor to contain common words to both md5 and sha1
Added load.factor
2005-08-25 10:07:50 +00:00
Chris Double 88d75185db Fix eval responder to work with 0.77 changes. 2005-08-24 04:52:52 +00:00
Chris Double 15d30888d6 fix parser combinator tests to work with str>number change 2005-08-24 00:01:39 +00:00
Chris Double b6951b8afd Get concurrency code to work with 0.77 changes. 2005-08-23 23:59:43 +00:00
Chris Double 06806ec8cc Get cont-responder examples working with 0.77 word changes. eval-responder is
currently broken though.
2005-08-23 23:49:52 +00:00
Daniel Ehrenberg a380526f12 updating CHANGES.html 2005-08-23 19:02:00 +00:00
Daniel Ehrenberg c3540aaf7a initial commit of parse-k.factor 2005-08-23 18:43:12 +00:00
Chris Double 1743df1bd4 Link to original parser combinators document for the clean programming language. 2005-08-22 01:45:11 +00:00
Doug Coleman 5384a2f805 Updated to work with .77 cvs.
Uses 'content' word as per slava's blog.
Added  'file>md5' and 'stream>md5'.
2005-08-20 08:32:53 +00:00
Chris Double f5f50c1347 Tests removed from main parser-combinators source file and added to a
tests.factor using Factor unit tests.
2005-08-17 07:03:40 +00:00
Chris Double 8a701e6e16 Fix Todo example so it works with removal of lexi>. 2005-08-16 23:10:13 +00:00
Chris Double 7aaacb19dd Refactoring and additions to the concurrency library. 2005-08-07 02:10:32 +00:00
Chris Double 4682d4429a Add first cut at concurrency library. 2005-08-04 22:46:50 +00:00
Chris Double 3948beb8f0 3list no longer exists. Fix parser combinators to work around this. 2005-08-04 01:19:30 +00:00
Slava Pestov b8d8685de8 clean up class<, class-and, class-or 2005-08-01 03:38:33 +00:00
Chris Double a1dba7ddc7 Changes to get parser-combinators working with 0.76 2005-07-25 22:35:29 +00:00
Chris Double 95a4fbb25f Various changes to get cont-responder examples working with 0.76 2005-07-25 22:34:59 +00:00
Alex Chapman a9fcfe8343 small gl type bugfix 2005-07-25 12:14:59 +00:00
Slava Pestov 5c9955fa52 added norm, proj words for vectors, removed dot/proj for complex numbers, more UI strippage 2005-06-30 00:04:13 +00:00
Slava Pestov 69608069e1 new add word, got rid of unused stdio-stream 2005-06-23 19:53:54 +00:00
Slava Pestov c918e5d9b1 with-string is now string-out, string-in combinator, documentation updates 2005-06-19 22:53:58 +00:00
Slava Pestov f1b23d66b7 merged streams, stdio and files into io vocabulary 2005-06-19 21:50:35 +00:00
Slava Pestov 3204323cc6 kick off 0.76 with some minor cleanups of erg's md5 code 2005-06-17 06:40:25 +00:00
Doug Coleman a5a4760836 Initial checkin.
Only supports hashing a string until string-streams are implemented.
2005-06-16 22:18:16 +00:00
Doug Coleman 4be3d27fd2 Initial checkin. PostgreSQL is not supported on Windows yet.
Tested on Debian with PostgreSQL version 7.4.7.
2005-06-12 09:37:05 +00:00
Slava Pestov c08920a60e missing USING: 2005-06-12 09:00:54 +00:00
Slava Pestov a4fafc2507 fixes 2005-06-12 08:37:45 +00:00
Slava Pestov 1c63f5f0db wrunt's alien-invoke shorthand, tons of bug fixes, cleanups and documentation updates 2005-06-12 07:38:57 +00:00
Alex Chapman 3a4161f84f Improvements to simple-gl, particularly using methods for event handling and working resize code 2005-05-24 10:07:36 +00:00
Alex Chapman dff6e531f3 tidied up gl and glu, simplified FUNCTION: 2005-05-23 03:50:55 +00:00
Slava Pestov 8e7652e644 add win32 dll loading 2005-05-23 02:03:54 +00:00
Slava Pestov 74fef3e79e add-library calls fixed 2005-05-23 01:59:24 +00:00
Alex Chapman 132d9adddc Most gl and glu functions now added. Loading the gl libraries after
bootstrapping doesn't seem to work, although I haven't verified that that is
the problem.
2005-05-23 01:45:52 +00:00
Alex Chapman 2e393becfe initial import of gl bindings into contrib/gl. simple-gl doesn't work yet... 2005-05-21 08:48:12 +00:00
Chris Double c93a28ffa2 get parser-combinator code working with latest factor sequence changes 2005-05-18 22:54:59 +00:00
Chris Double 089c17f401 Get eval-responder working again and fix up for the rename of 'cat' to
'append'.
2005-05-18 22:37:42 +00:00
Chris Double 4e57df3247 change usage of sbuf>string to >string 2005-05-16 02:33:08 +00:00
Slava Pestov 7f4da7ecd0 generic words are more flexible, sequences cleaned up 2005-05-14 21:18:45 +00:00
Slava Pestov cc1e664a99 string sub-primitives 2005-05-06 02:30:58 +00:00
Slava Pestov f96779a56c simple HTTP client; with-stream* word; various tweaks and cleanups 2005-05-02 04:18:34 +00:00
Chris Double 85b8508e58 fix documentation error in parser-combinators. 2005-05-01 03:06:38 +00:00
Chris Double fb211c0e05 fix yet more bitrot to do with sequence changes in cont-responder
examples.
2005-05-01 03:05:48 +00:00
Chris Double 11c604d865 fix parser-combinator documentation 2005-04-30 04:17:02 +00:00
Chris Double 93f4088747 more sequence code fixes for cont-responder examples 2005-04-30 04:15:12 +00:00
Chris Double 3ecf223a68 more sequence code fixes for parser combinators 2005-04-30 04:14:48 +00:00
Chris Double aa5b8fe510 Get lazy lists and parser combinators working with new factor. 2005-04-30 03:20:11 +00:00
Chris Double 19bc49ece3 fix bitrot in sqlite library 2005-04-30 03:18:56 +00:00
Chris Double 01b0cae9a5 Fix bitrot in cont-responder 2005-04-30 03:16:33 +00:00
Slava Pestov 8b61c03fa1 (yield) renamed to stop 2005-04-22 04:22:36 +00:00
Chris Double b1945f04ae get cont-responder examples working with new sequences code. 2005-04-04 22:31:31 +00:00
Slava Pestov 4d82ac0541 removed 3slip, forever, apply combinators 2005-03-21 20:13:40 +00:00
Daniel Ehrenberg 54ad3394a7 adding unittest for infix-word.see 2005-03-06 01:01:51 +00:00
Daniel Ehrenberg d47fbc8d1a s/word-property/word-prop/ 2005-03-05 23:55:31 +00:00
Slava Pestov a74632b243 hashtables were sized wrong; rename str- words to string- 2005-03-05 21:33:40 +00:00
Daniel Ehrenberg 175b211160 changes to algebra 2005-03-04 01:35:33 +00:00
Daniel Ehrenberg 8315f1b1ee Algebra again, fixing (?) 2005-02-28 02:53:11 +00:00
Slava Pestov d0bb4944f1 functional queue in place of dlists; disable generic partial eval due to buggyness 2005-02-25 23:11:10 +00:00
Daniel Ehrenberg dbb1148360 updates on infix & infix repl 2005-02-25 05:06:30 +00:00
Daniel Ehrenberg 56648c2ca5 fixing carelessness 2005-02-25 03:53:15 +00:00
Daniel Ehrenberg ecb11bf4fe algebra -- I hope this works 2005-02-25 03:32:51 +00:00
Chris Double a0c7e80835 tidy up browser title.
put vocab and word name in browser titlebar.
update cont-responder documentation. Added information on 'show-final'
and updated examples that had suferred code rot (ie. Change use of
times*, succ, pred, [ | ], etc)..
remove setting of responder name in browser. The setting of the name
caused the browser-edit responder to jump to the browser responder when
a word was clicked..
added show-final to cont-responder.
add responder-items word for debugging in cont-responder.
changed expiry of cont-responder continuations. When the continuations
are expired they are now removed from the hash table. Previously each
request would rebuild the continuation table containing the non-expired
continuations..
convert from hashtables to typles in cont-responder.
move to using symbols for variable names in cont-responder.
convert USE: to USING: in cont-responder.
various minor cont-responder refactorings.
refactor init-cont-responder.
merge cont-get-responder and cont-put-responder into one.
refactor cont-get-responder.
fix cont-responder bug involving redirects. When a cont-responder
request for an expired page was made the  'redirect' flag was not
correctly reset. This resulted in initial  requests of a responder
redirecting when it wasn't supposed to.  Tidied up the area of redirects
and post-refresh-get pattern..
added use of show-final to todo-list.
2005-02-21 00:47:08 +00:00
Chris Double c1ca6b761e Change default timeout for continuation responder. Update live updater
and todo list code for stream and read word changes.
2005-02-16 01:38:21 +00:00
Chris Double 58a43f3bf2 Remove tutorial from cont-responder directory as it is in doc directory
now.
2005-02-15 02:58:09 +00:00
Chris Double 24b2777a89 Remove uneeded files. 2005-02-15 02:56:46 +00:00
Chris Double 0b3a34d0c8 add browser style to words to allow browsing source. add browser and
cont-responder to factor httpd. add cont-responder tutorial to main doc
dicretory. mention location of cont-test.factor in tutorial. change
defauly startup location of browser.
2005-02-14 21:44:15 +00:00
Chris Double b141634910 Fix for browser responder for where vocab or word doesn't exist 2005-02-13 01:57:34 +00:00
Chris Double f88bfcf2a8 Refactorings of the cont-responder and sqlite code. The browser
responder now accepts 'word' and 'vocab' as query parameters. The
cont-responder takes the continuation id as a query parameter instead of
part of the url.
2005-02-13 01:08:32 +00:00
Chris Double d5009f4b78 Add first cut at sqlite library. 2005-02-10 22:22:35 +00:00
Chris Double 2b225a6c7b Changes to cont-responder to work with recent Factor changes
(string-output instead of string-output-stream, new cons format, etc).
2005-02-07 00:08:14 +00:00
Chris Double d9328473d1 fix typecheck error. Error was caused by using "stdio" instead of stdio
symbol.
2004-12-29 03:12:37 +00:00
Chris Double f3a37722e6 get things working with recent cvs update. Some responders still don't
work due to typecheck errors.
2004-12-29 02:59:41 +00:00
Chris Double 7c8e1f62b6 Added more details to tutorial of cont-responder 2004-11-24 00:58:19 +00:00
Chris Double a5782d290e fix 'usages.' usage in eval-responder. fix tutorial typo. update browser
and tutorial for new room word changes. updated browser to use room.
instead of room. remove form around live search field in eval-responder.
prevent enter key on eval-responder in live search field from failing.
removed double prompting of numbers game. removed vars-values usage and
replaced with hash>alist.
2004-11-22 22:07:17 +00:00
Chris Double e3e434e649 Changes to cont-responder:
added start of a tutorial
  added numbers game example
  add cont-responder testing functions
  minor refactoring of cont-responder
  eval-responder now works again!

Changes to parser-combinators:
 modify str-head and str-tail usage for their changed stack effects
2004-11-20 21:32:02 +00:00
Chris Double bfd4b064a9 Remove cont-html.factor. It is replaced by html-tags.factor in the
library.
2004-11-16 03:03:55 +00:00
Chris Double 1ab4b8b905 replace string formatting with new make-string system and use html
instead of cont-html. remove cont-html.factor file as it is
supercontents of the html vocabulary in the standard library. remove
unneeded test function from todo example. removed requirement for
parser combinator library from todo cont-responder example.
2004-11-14 21:57:28 +00:00
Slava Pestov 7df4ae98d7 moving examples to examples/ 2004-11-09 17:23:35 +00:00
Slava Pestov fb798e97fa a pile of bug fixes and improvements 2004-11-09 03:36:51 +00:00
Slava Pestov 166817bd45 add infix parser library 2004-11-04 04:37:08 +00:00
Slava Pestov d347d20dbc adding trace, step, stack inference to cvs, rearranging some stuff 2004-11-04 04:35:36 +00:00
Chris Double bd7fc60d8e refactor todo words as per slava's suggestions 2004-11-02 22:23:35 +00:00
Chris Double 7ec1111139 re-enable loading of todo example. 2004-11-02 01:11:30 +00:00
Chris Double b98e4af5f0 Rewrite username validation in todo example to workaround current bug in
parser combinator library.
2004-11-02 01:10:35 +00:00
Chris Double 9efc607ffd Get continuation responder and parser combinators working with recent
factor changes. Todo example is currently broken.
2004-11-02 00:02:33 +00:00
Slava Pestov 18305aaa95 minor fixes 2004-10-29 03:58:23 +00:00
Slava Pestov 17a6ef1eae a few bug fixes 2004-10-28 03:13:00 +00:00
Slava Pestov c92c56ce24 some cleanups and benchmarks 2004-10-28 01:21:31 +00:00
Slava Pestov 1aef8c48a0 start 0.68 by moving list-math to contrib and simplifying subset combinator 2004-10-18 05:37:46 +00:00
Slava Pestov 2f2db98791 new, graphical contrib/mandel.factor 2004-10-17 23:10:22 +00:00
Slava Pestov 96a5afc718 HSV>RGB color conversion, much other stuff 2004-10-12 01:40:12 +00:00
Slava Pestov d401456f50 moved quadratic and simpson to contrib, fix some parse-number oddness 2004-10-10 18:28:56 +00:00
Slava Pestov babd2b7494 doc updates 2004-09-27 00:16:02 +00:00
Chris Double 6a0d3fcedf remove default-responders call which is no longer needed. 2004-09-08 03:51:20 +00:00
Chris Double cb4c439646 Changes to get things working with the combinators and files vocab
changes.
2004-09-02 01:18:42 +00:00
Slava Pestov a42442364a fix mandel.factor 2004-08-27 03:11:46 +00:00
Chris Double a7eee6e189 Fix for change from worddef>list to word-parameter.
Fix for moving arithmetic functions into math vocab.
2004-08-27 02:34:09 +00:00
Slava Pestov 8dcb356cff fix some overflow issues 2004-08-27 02:21:17 +00:00
Slava Pestov e8c112ac03 cleanup of mandel.factor 2004-08-27 00:13:44 +00:00
Slava Pestov 1dca03d0dc mandelbrot fractal 2004-08-27 00:10:25 +00:00
Chris Double c22b62215a use character streams instead of binary streams in todo list.
get liveupdater working with native factor.
browser responder now works in native factor.
2004-08-23 20:22:57 +00:00
Chris Double d99fce030f get todo list working with native factor.
rewrote storage routines to not use run-file. Removed regular
expressions and use paser-combinators instead.
2004-08-23 20:21:49 +00:00
Slava Pestov 3712ae68e5 fix read line, and add read line regression tests 2004-08-23 01:56:06 +00:00
Chris Double 549e17a539 Add line endings to files. 2004-08-22 23:39:14 +00:00
Chris Double 846db119f6 Was logging the post alist before converting it to a string. Removed to
get things working with native factor. Various fixes to get things
loading in native factor.
2004-08-22 23:29:39 +00:00
Slava Pestov 5b24e99fc9 working on cfactor bootstrap 2004-08-20 22:48:08 +00:00
Slava Pestov 2fccd38742 add irc.factor to contrib 2004-08-20 06:43:06 +00:00
Chris Double e363a194da revert workaround for native factor problem now that it is fixed. 2004-08-20 00:12:23 +00:00
Chris Double 0ad8cb57d7 workaround for native factor bug in processing lists 2004-08-20 00:02:01 +00:00
Chris Double 2806da7eed get things working with native factor. 2004-08-19 23:57:45 +00:00
Chris Double 50408f1bcc Fix cont-html to work with new word defining words. 2004-08-19 23:46:14 +00:00
Chris Double 8623011d35 Fixes to get cont-responder working with latest httpd changes. 2004-08-19 23:33:58 +00:00
Chris Double 00c2d5f058 Changes to get things working with latest factor updates. Post requests
are currently broken.
2004-08-19 22:04:10 +00:00
Chris Double 7d583b43d1 Added more stuff to parser combinator documentation. 2004-08-16 23:14:51 +00:00
Chris Double 0c3fa9d74c Added parser combinator and lazy evaluation library. 2004-08-15 23:23:47 +00:00
Chris Double 9f052b3c82 Some changes to get things working in native factor. 2004-08-08 05:29:01 +00:00
Chris Double 4a562eb0c9 cont-html is essentially rewritten to not use a quotation between the
opening and closing tags. This actually simplifies the code quite a bit.
The current downside is the the code using the tags is not pretty
printed very well (ie. no indenting).
2004-08-02 21:35:22 +00:00
Chris Double 62c349a356 made browser columns fixed width 2004-08-02 21:34:46 +00:00
Chris Double 82e1321e22 added width attribute 2004-08-02 21:34:21 +00:00
Chris Double 5973009ed1 label browser column headings 2004-08-02 21:33:58 +00:00
Chris Double 5503ce06ce add ability to change todo password 2004-08-02 21:33:35 +00:00
Chris Double df455b5de8 Added edit functionality and styling to todo application 2004-08-01 22:30:47 +00:00
Chris Double 616f2bd2d9 added link element, rel attribute for styled-page. 2004-08-01 22:30:22 +00:00
Chris Double 13bcbfd465 Add vm statistics to browser 2004-08-01 22:29:51 +00:00
Chris Double be47ff8672 make browser editing optional 2004-08-01 22:29:32 +00:00
Chris Double ac0e0432a0 add editing functionality to browser 2004-08-01 22:29:11 +00:00
Chris Double c72246cedd Post requests were being decoded before splitting into an ALIST. This
caused problems if the post data contained an '&' or '='. Now the
decoding is done after the splitting. Also added logging of the original
post data and the decoded alist.
2004-08-01 22:28:50 +00:00
Chris Double 7c0ae6a136 added first cut of browser code 2004-08-01 22:28:17 +00:00
Chris Double 97073b654f misc. refactorings. added onchange attribute. Various refactorings. 2004-08-01 22:27:30 +00:00
Chris Double f4bed8c0f3 added select and option elements to cont-html 2004-08-01 22:26:53 +00:00
Chris Double 7b0adf3072 reorganise loader file 2004-08-01 22:26:30 +00:00
Chris Double 722a8f888c added live search facility for words to eval-responder 2004-08-01 22:26:07 +00:00
Chris Double a91cda2e8f move button to cont-utils 2004-08-01 22:25:40 +00:00
Chris Double 109559a1ae added colspan attribute to cont-html 2004-08-01 22:25:17 +00:00
Chris Double 78ff8782d7 seperate out javascript code into an include rather than incline for
ive-updater
2004-08-01 22:24:42 +00:00
Chris Double e16bdb46d2 seperate out javascript code into an include rather than inline for
live-updater
2004-08-01 22:24:17 +00:00
Chris Double 431618aea0 factor out reusable code from live-updater-responder and put in
live-updater
2004-08-01 22:23:38 +00:00
Chris Double f7bda63625 tidy up live-updater responder 2004-08-01 22:23:06 +00:00
Chris Double 26aada47ee Added live update example. 2004-07-28 21:54:24 +00:00
Chris Double 73c8f77eda Add code to run http in a thread, catching errors and restarting. 2004-07-28 01:53:55 +00:00
Chris Double a80e32934c Added script, div and span. Added src and language attributes. 2004-07-28 01:53:33 +00:00
Chris Double 6480e75db6 add focus setting to eval-responder.
added accesskey attribute.
clean up eval-responder user interface.
Added history display. Added ability to click history and callstack .
entries and have them added to the evaluator textarea. Various code .
tidyups..
added style and valign attributes.
add html layout routines.
add onclick attribute.
added id attribute to cont-html.
2004-07-26 21:48:58 +00:00
Chris Double 8f3ba5b97e Use str-lexi> for sorting priorities. This allows alphanumeric
characters as a priority and prevents errors in that case.
2004-07-26 04:00:56 +00:00
Chris Double 5c664feeed Made the eval textarea bigger. 2004-07-26 02:28:11 +00:00
Chris Double 905f658551 added rows and cols attributes. 2004-07-26 02:27:48 +00:00
Chris Double cb918db171 Add style to factor output allowing "see", etc to be hyperlinked. 2004-07-26 00:47:15 +00:00
Chris Double d591e6187b Add file containing common routines for continuation based httpd
responders.
2004-07-25 22:35:51 +00:00
Chris Double bdf0a68a81 Added load.factor to provide words for loading cont-responder files for
testing.
2004-07-25 22:34:40 +00:00
Chris Double dafe413349 add th tag and border= attribute to cont-html.
change loader to optionally load in thread.
multiline post requests now work. Removed usage of regular
expresions .
and parse post requests using string functions instead.
add eval-responder example.
added eval-responder to loader.
Added cont-utils.factor. This contains commonly used higher level
words for continuation based responders.
Modified the todo-example to use these words, removing those it had
with similar functionality.
Change load.factor to use different words for running the files.
2004-07-25 22:31:25 +00:00
Chris Double 04880642c7 making todo list more complete
Fixed security issue if user entered certain characters in username
field.
Added 'mark complete'
Added 'delete item'
Refactored into smaller words.
refactoring of registration form in todo list
show now returns a namespace
open html words were acting like closed words and generating a close
tag. This is fixed in this patch.
convert table writes to use table word.
2004-07-22 22:04:53 +00:00
Chris Double a90e22cd52 Added todo list cont-responder example. 2004-07-21 23:22:35 +00:00
Chris Double b1ff1f41f5 Added continuation based httpd responder. 2004-07-21 23:21:22 +00:00