Commit Graph

11647 Commits (21cb42edf3d91a4be40af5c79cfc1d53e3a0abff)

Author SHA1 Message Date
Alexander Iljin 692f49d92e rosetta-code.gnome-sort: add some tests 2017-03-18 16:44:14 -07:00
Alexander Iljin ea50cc77a0 rosetta-code.gnome-sort: add vocab 2017-03-18 15:08:56 -07:00
John Benediktsson 9c7655d286 infix: adding support for constants and ( -- x ) words.
Also speed up subseq steps with negative steps.
2017-03-18 13:27:33 -07:00
John Benediktsson 2e43bc6b90 infix: add support for string literals.
Rename ast-number to ast-value (to represent any literal value).
2017-03-16 16:14:51 -07:00
John Benediktsson 8e87696719 infix: don't shadow ``t`` even though we can. 2017-03-16 15:50:58 -07:00
John Benediktsson aa05fca37f infix: add a test for nested local scopes. 2017-03-16 15:49:07 -07:00
John Benediktsson 2b23d75544 infix: fix to allow nested local scopes. 2017-03-16 15:36:07 -07:00
John Benediktsson c6a00bfdfe id3: fix for find-files-by-extension rename. 2017-03-05 13:47:19 -08:00
John Benediktsson 9e4b0c10ae lru-cache: fix M\ lru-cache clone. 2017-03-02 18:41:24 -08:00
John Benediktsson faf0158ad0 lru-cache: adding a Least Recently Used (LRU) cache. 2017-03-02 16:12:01 -08:00
John Benediktsson 890be49074 combinators.extras: adding a variant to cond. 2017-02-21 14:51:30 -08:00
John Benediktsson d63c992d97 using when instead of [ ] if. 2017-02-09 16:29:14 -08:00
John Benediktsson 2e73914e85 rosetta-code.equilibrium-index: simplify. 2017-02-09 16:04:20 -08:00
John Benediktsson 3a6eefcc8e using ignore-errors instead of [ drop ] recover. 2017-02-09 15:50:33 -08:00
Jon Harper 7ed6379633 trees, attempt to keep shape during conersions 2017-02-08 10:37:02 -08:00
Jon Harper d800d026de trees, make pop/slurp work for all trees
It is not as optimized as it could be but it is a simple way
to ensure that the tree properties are maintained.
2017-02-08 10:37:02 -08:00
Jon Harper e0bd21e24a trees, cleanup privates 2017-02-08 10:37:02 -08:00
Jon Harper 8b136cdd6d trees, add pop/slurp operations 2017-02-08 10:37:02 -08:00
Jon Harper 45500b9137 trees, add navigation operations (lower-key etc.) 2017-02-08 10:37:02 -08:00
Jon Harper 3667844439 trees, add range operations (subtree>alist etc.) 2017-02-08 10:37:02 -08:00
Jon Harper c686b15939 trees, fix delete-at. Add testcase 2017-02-08 10:37:02 -08:00
Jon Harper 2ca301ec5e trees.splay, add test for assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper 4442d922b0 trees.avl, implement assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper d2cfbafa13 trees, implement assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper 2bfeecda2b trees, add height 2017-02-08 10:37:02 -08:00
Jon Harper 29ebeb5a26 trees, change M\ tree clone to keep the shape of the tree
Without this, all base class and splay trees were becoming linked lists after cloning..
2017-02-08 10:37:02 -08:00
John Benediktsson 79a28e130e compiler.cfg.gvn.avail: fix using. 2017-02-08 09:30:31 -08:00
John Benediktsson f4ccfa0f71 sets: moving unique/conjoin/conjoin-at to compiler.utilities. 2017-02-07 18:54:24 -08:00
John Benediktsson ef3d271fb3 remove some uses of conjoin. 2017-02-07 15:14:20 -08:00
John Benediktsson d5aa8628e3 yaml: using ?adjoin. 2017-02-07 12:33:34 -08:00
John Benediktsson 0f1d08a372 using map-reduce instead of unclip reduce. 2017-02-07 12:16:12 -08:00
John Benediktsson c5150307f5 cgi: cleaner looking without parens. 2017-02-06 16:22:07 -08:00
John Benediktsson 915378019c assoc-heaps: simplify. 2017-02-06 11:19:43 -08:00
John Benediktsson 0dbcbd50f6 boyer-moore: simplify M\ sequence search-from. 2017-02-06 11:17:32 -08:00
John Benediktsson ca537d30b3 colors: adding some ABOUT: links. 2017-02-06 10:51:12 -08:00
John Benediktsson 0f7646e3ed pdf.wrap: make sure to calculate whitespace properly. 2017-02-02 09:14:10 -08:00
John Benediktsson b73876dfdd pdf.wrap: fix for wrap API change. 2017-02-02 08:08:22 -08:00
John Benediktsson ecdb8dfe62 extra: cleanup some example servers, allow port to be specified on command line. 2017-01-31 15:55:31 -08:00
John Benediktsson 369f5b6d13 sequences.extras: additional tests for take-while and drop-while. 2017-01-26 22:09:13 -08:00
John Benediktsson e462f85c66 sequences.extras: whoops, fix tests. 2017-01-26 12:07:33 -08:00
John Benediktsson a8a94c3960 sequences.extras: experimenting with take-while and drop-while. 2017-01-26 12:05:09 -08:00
John Benediktsson 9a34af7381 money: adding support for floats. 2017-01-25 16:44:25 -08:00
John Benediktsson e6b8837f2f changer: moving to extra for now. 2017-01-23 10:40:55 -08:00
John Benediktsson 81da68c906 google.gmail: fix to use set-query-params. 2017-01-23 10:06:16 -08:00
John Benediktsson 134be588cf no need to clone empty byte-array. 2017-01-22 15:41:07 -08:00
John Benediktsson f16a7830b1 pong: no need for multi-methods. 2017-01-22 15:10:42 -08:00
John Benediktsson 575aced0f7 processing.shapes: some cleanup. 2017-01-22 15:06:01 -08:00
John Benediktsson 3f2404a628 nurbs: cleanup. 2017-01-22 14:47:50 -08:00
John Benediktsson 33f2fbd099 oauth2: move set-query-params to urls. 2017-01-22 14:44:33 -08:00
John Benediktsson d1242003ba webapps.mason.backend.watchdog: simplify. 2017-01-22 14:44:20 -08:00
John Benediktsson 5993e2008e mason.report: adding stack effect. 2017-01-22 14:43:28 -08:00
John Benediktsson c4f39e32a5 tools.wc: adding "wc" tool. 2017-01-22 14:40:37 -08:00
John Benediktsson baaa06278c Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824.
2017-01-21 07:20:14 -08:00
John Benediktsson 63b0593824 sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Alexander Iljin d5b74bd776 splitting.extras-docs: mark -slice variants as related-words 2017-01-20 08:21:54 -08:00
Björn Lindqvist 78555afb9e fuel.help: value-str -> unparse-short 2017-01-10 12:36:46 +01:00
Björn Lindqvist 0884434c0f fuel: more word renamings, now only words called from elisp have the fuel- prefix 2017-01-10 12:36:46 +01:00
John Benediktsson 27e24cb0a8 balloon-bomber: fix window title typo. 2017-01-09 12:37:15 -08:00
Björn Lindqvist cd3adb671c fuel.eval.tests: fixing the test by wrapping it in a manifest 2017-01-08 13:41:43 +01:00
Björn Lindqvist c11c59876f fuel,fuel.eval: renaming fuel- prefix words 2017-01-08 13:18:50 +01:00
Björn Lindqvist 340ca944d4 fuel,fuel.help: refactoring of lots of word names
Better to use unprefixed words everywhere. When they clash with words
from the help system, fully qualified names can be used.
2017-01-08 13:18:17 +01:00
Björn Lindqvist a1f9fca4dc FUEL: ensuring that autodoc works for qualified word references (eg unix.ffi:accept) 2017-01-07 15:26:19 +01:00
John Benediktsson 20656f0db8 units.si: extras precision for ``u``. 2017-01-06 18:24:48 -08:00
Alexander Iljin e82ee2d723 pdf.values: treat color tuples uniformly 2017-01-05 12:48:50 -08:00
Alexander Iljin fa5f810b20 pdf.layout: use symbols for authorship 2017-01-05 12:48:50 -08:00
Jon Harper 1b6c568831 fixup 5af166b8f, shouldn't have removed these lines 2017-01-05 12:09:03 -08:00
John Benediktsson a2d5f8e9ad math.cardinality: relax the comparison so tests run more successfully. 2017-01-05 09:06:33 -08:00
Jon Harper ed653bf363 mason.report, remove <html><body> because this html report is embedded as is in another page 2017-01-05 09:03:46 -08:00
Jon Harper 5af166b8f5 add DOCTYPE html in most places.
4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
John Benediktsson a3abd46500 math.cardinality: adding summary.txt. 2017-01-04 14:22:30 -08:00
John Benediktsson 5376587fb3 math.cardinality: adding some tests. 2017-01-04 14:16:58 -08:00
John Benediktsson 740c258b66 tools.cal: use calendar.english. 2017-01-04 07:29:08 -08:00
Björn Lindqvist a66e79dd2d irc.logbot: more strftime 2017-01-04 09:46:17 +01:00
Björn Lindqvist 3bbc784fad calendar.parser,robots: hhmm>timestamp -> hhmm>duration
Better to parse it as a duration because it is not a valid timestamp.
2017-01-04 09:10:15 +01:00
Björn Lindqvist 2895d5e095 calendar.format: moving parsing words to a new vocab calendar.parser
The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.
2017-01-04 08:50:24 +01:00
Björn Lindqvist 40afb5268d hashcash: strftime 2017-01-04 08:11:01 +01:00
Björn Lindqvist 8b56ff1b89 tools.cal: using calendar.english 2017-01-04 08:11:01 +01:00
John Benediktsson bb275f2b2a tools.cal: minor formatting. 2017-01-03 19:12:43 -08:00
Björn Lindqvist f9b9ce20f2 calendar.english: new vocab for english names for days and months
This moves all the english-centric words from the calendar vocab which
was getting kind of big to calendar.english. It should make it easier to
see which vocabs make language assumptions.
2017-01-03 15:48:08 +01:00
Björn Lindqvist b9030b953e wikipedia: strftime + tests 2017-01-03 15:37:53 +01:00
Björn Lindqvist e10754a298 tools.cal: using strftime + tests 2017-01-03 15:31:52 +01:00
John Benediktsson d145548c44 sequences.extras: fix map-concat to be row-polymorphic. 2016-12-29 12:35:39 -08:00
John Benediktsson b333343e2b sequences.extras: little more cleanup. 2016-12-29 12:29:09 -08:00
John Benediktsson dfdf1f19cc sequences.extras: fix doc for find-all. 2016-12-29 12:04:29 -08:00
John Benediktsson 94da542acd sequences.extras: removing a couple words that aren't used. 2016-12-29 12:03:16 -08:00
John Benediktsson a153d9f6ad sequences.extras: simpler find-all and a test. 2016-12-29 09:20:32 -08:00
John Benediktsson b141e0d2fb assocs: moving collect-by from math.statistics. 2016-12-28 12:56:19 -08:00
John Benediktsson fa090a2292 forestdb.ffi: some updates. 2016-12-27 14:03:50 -08:00
Alexander Iljin b2709eeb41 google.charts: fix tests, add comments 2016-12-25 11:42:49 -08:00
John Benediktsson 9af9980ba0 webapps.calculator: fix using. 2016-12-22 05:50:31 -08:00
John Benediktsson 294f75f0c4 google.charts: make the tests check more things. 2016-12-21 15:25:00 -08:00
Alexander Iljin 2dbc57a120 Make sure URLs are cloned before using set-query-param on them 2016-12-21 15:21:23 -08:00
Alexander Iljin 2c38f2e3e3 google.charts: fix side-effects of set-query-param, add tests 2016-12-21 15:21:16 -08:00
Björn Lindqvist b3a9293ba1 graphviz.render: forgot to change open-file to open-item 2016-12-18 16:02:25 +01:00
Björn Lindqvist 914a9be1f4 webapps.calculator: using run-test-httpd word 2016-12-05 09:40:29 +01:00
Björn Lindqvist 0142d0b078 basis/,extra/: using parse-array-def in a bunch of places 2016-12-03 13:23:24 +01:00
John Benediktsson ef269c493c math.factorial: reverse-factorial only undo factorial.
The other way doesn't make sense.
2016-11-29 19:01:36 -08:00
John Benediktsson 8bdaf26d6b math.factorials: implement "undo" for factorials. 2016-11-29 16:56:48 -08:00
John Benediktsson 1e2e2dc9f7 math.factorials: adding reverse-factorial. 2016-11-28 19:09:03 -08:00
Alexander Iljin 54feb5df6c trails: stop the thread when gadget is no longer visible 2016-11-28 09:40:41 -08:00
Alexander Iljin 429cdf3343 trails: name the thread for debugging 2016-11-28 09:40:41 -08:00
Björn Lindqvist 581e2e2a62 vocabs.metadata.resources,help.pdf: gather used 2016-11-28 02:04:28 +01:00
Jon Harper 3d60f7ad5a trees.avl: fix it (broken since 2010)
rotate creates cycles in the tree and drops nodes...
This either breaks everything (infinite recursion) or silently
loses data.

Improve the tests to ensure rotate does what it's supposed to do.

This is a partial revert from 15226d8
2016-11-27 07:45:28 -08:00
Jon Harper eb46e23eab trees.avl: fix typo in test 2016-11-27 07:45:28 -08:00
John Benediktsson dadff2f062 some cleanup. 2016-11-26 22:01:03 -08:00
John Benediktsson 6955823107 wikipedia: need to use string>xml since we do xml traversal. 2016-11-22 09:18:04 -08:00
Björn Lindqvist 40c277499d python.tests: fix test that broke for unknown reason on python 2.7.12 2016-11-21 04:59:03 +01:00
Björn Lindqvist a76c951769 zeromq: let's see if the zeromq isssue is solved
it should be, knock on wood!
2016-11-21 04:04:04 +01:00
Björn Lindqvist 0f989321b7 zeromq.*: make the size of the zmq_msg_t buffer vary depending on library version
This could fix the mac 32bit failure. It maybe happened because the
buffer was too small and data was overwritten.
2016-11-20 04:39:46 +01:00
Björn Lindqvist 00d4572e6c basis,extra: refactorings to use the ignore-error and ignore-error/f words 2016-11-18 23:41:36 +01:00
Björn Lindqvist 19616c9714 mason.git: fix parsing of "git status" command
--porcelain option produces machine readable output. Then if the output
is empty, the working tree is clean. The exit code doesn't need to be
checked.
2016-11-18 23:41:36 +01:00
Björn Lindqvist 7806bdb953 couchdb: make it so couch-put and couch-post calls <json-post-data> 2016-11-18 20:10:39 +01:00
Björn Lindqvist ec0169a50b couchdb: need to wrap in a <json-post-data> to send correct content-type 2016-11-18 20:10:39 +01:00
Björn Lindqvist 98a595f371 couchdb.tests: use ensure-db so tests can be run multiple times 2016-11-18 20:10:39 +01:00
John Benediktsson 23c16dea69 sets.extras: rename duplicates-by to unique-by, hah. 2016-11-18 07:10:50 -08:00
John Benediktsson fd5aa1d4f2 sets.extras: adding duplicates-by. 2016-11-18 06:59:07 -08:00
John Benediktsson 26d27ef61f zeromq: make "not tested" for right now, to test a theory. 2016-11-16 08:56:08 -08:00
John Benediktsson aeeaaec17d html.parser.printer: some improvements to text-printer.
- collapse spaces except within preformatted tags
- ignore <script> and <style> tags
- don't print dtd tags
2016-11-13 13:48:19 -08:00
John Benediktsson b4085d0f8a html.parser.printer: updated test. 2016-11-12 07:56:55 -08:00
John Benediktsson 78310744bd html.parser.printer: indent blockquote in text-printer. 2016-11-12 07:49:09 -08:00
John Benediktsson c1cdc2318f html.parser.printer: use with-variables instead of with-scope. 2016-11-10 15:39:12 -08:00
John Benediktsson 9d1edc62c7 html.parser.printer: tagstack isn't used here. 2016-11-10 14:52:18 -08:00
John Benediktsson d0ae3275b1 html.entities: fix &quot; unescape; 2016-11-10 14:22:08 -08:00
John Benediktsson 9c5c15b6f6 colors.distances: needs to USE: math.trig. 2016-11-10 13:24:11 -08:00
John Benediktsson 0025e77f05 svg: fix tests to use deg>rad. 2016-11-10 10:23:10 -08:00
John Benediktsson ac04040edc math.trig: use deg>rad in a few places to reduce duplication. 2016-11-10 10:17:22 -08:00
John Benediktsson 73d430bfb9 xdg: moving from extra/ to basis/. 2016-11-08 21:23:22 -08:00
John Benediktsson 19447e44a4 byte-arrays.hex: removing HEX{ ab cd ef } in favor of B{ 0xab 0xcd 0xef }. 2016-11-08 21:10:58 -08:00
John Benediktsson ba40af541f progress-bars.models: rename <file-progress-display> to <progress-display>. 2016-11-08 14:14:15 -08:00
John Benediktsson e22e0dfef5 progress-bars.models: fix typo in docs. 2016-11-08 14:11:53 -08:00
John Benediktsson bbcd039c6c websites.factorcode: fix image-path example. 2016-11-06 12:09:30 -08:00
John Benediktsson 77f0865689 gopher: use url encoding and decoding to work with weird filenames. 2016-11-02 11:11:53 -07:00
Alexander Iljin 140d3c88c0 combinators.tuple-docs: add example code for make-tuple 2016-11-02 08:01:26 -07:00
Alexander Iljin 4ee980aa98 Tag the spotlight vocab with the "macosx" platform 2016-11-02 08:01:26 -07:00
Alexander Iljin f870b6c456 combinators.tuple-docs: fix wording 2016-11-02 08:01:26 -07:00
Alexander Iljin 5a59a736b7 images.testing-docs: decapitalize "listener" for consistency
This was the only document that had "Listener" starting with capital "L".
2016-11-02 08:01:26 -07:00
Alexander Iljin cdb92fbac1 odbc: add self to copyright and authors file 2016-10-30 18:59:10 -07:00
Alexander Iljin a38b9cff93 odbc: use cleanup in odbc-query to prevent resource leaks on errors 2016-10-30 18:59:10 -07:00
Alexander Iljin 6c91db786a odbc: align parameters in odbc-describe-column 2016-10-30 18:59:10 -07:00
Alexander Iljin f466d290ba odbc: fix odbc-get-row-fields by using iota on the number of columns 2016-10-30 18:59:10 -07:00
Alexander Iljin f72f116364 odbc: convert string to alien in odbc-prepare 2016-10-30 18:59:10 -07:00
Alexander Iljin 667727bf0c odbc: align cases in convert-sql-type 2016-10-30 18:59:10 -07:00
Alexander Iljin 36154cff69 odbc: compact the declaration of symbols 2016-10-30 18:59:10 -07:00
Alexander Iljin 52fbba5a4a odbc: use CONSTANT: to define constants 2016-10-30 18:59:10 -07:00
Alexander Iljin 1a61ffd4fd odbc: move from unmaintained to extra 2016-10-30 18:59:10 -07:00
Alexander Iljin 3579ffac4d snake-game.*: fix name in the copyright 2016-10-30 16:10:31 -07:00
John Benediktsson 563fa33382 gopher.server: sillyness. 2016-10-28 15:18:06 -07:00
Jon Harper 6bdb62d142 docs: typos: occurence -> occurrence
Didn't fix the one at extra/webapps/fjsc/www/termlib/readme.txt
because it's from upstream
2016-10-28 09:32:51 -07:00
John Benediktsson 86b5efb9eb gopher-ui: move to gopher.ui. 2016-10-27 09:52:17 -07:00
John Benediktsson 7fb7eae02b gopher.server: fix length of ".." link. 2016-10-27 09:32:16 -07:00
John Benediktsson 920d693205 gopher: some aesthetics. 2016-10-26 19:50:00 -07:00
John Benediktsson 3ce5146235 gopher.server: adding a Gopher server. 2016-10-26 16:49:23 -07:00
John Benediktsson a8d6f0d418 gopher: adding generic image support. 2016-10-26 16:49:23 -07:00
John Benediktsson 68b3e4613b gopher-ui: better looking toolbars. 2016-10-26 16:49:22 -07:00
John Benediktsson 77d8475228 gopher: fix gopher urls to include the type character properly. 2016-10-26 16:49:22 -07:00
Björn Lindqvist 4dbc377383 webapps.wee-url: random-url can use random-string 2016-10-26 09:06:19 +02:00
Björn Lindqvist e187d63d3c oauth2: support for renewing the access token using refresh 2016-10-18 11:09:59 +02:00
Björn Lindqvist 1715f84d52 google.gmail: no need for symbol wrapping here 2016-10-18 08:10:00 +02:00
Björn Lindqvist 0fe633848b google.gmail: GMail API support 2016-10-17 13:09:43 +02:00
Björn Lindqvist 08d2c6867d oauth2: vocab for oauth2 protocol 2016-10-17 13:05:18 +02:00
Björn Lindqvist 917d611df5 oauth: let's rename vocab to oauth1
Because there is a competing OAuth 2.0 protocol which is different. So
this rename should reduce confusion.
2016-10-17 08:03:48 +02:00
John Benediktsson d8554ad24e redis.command-writer: adding SWAPDB command.
See: c7a4e694ad
2016-10-14 16:54:32 -07:00
Björn Lindqvist 716bc89c53 webapps.*: make it so the webapps aren't initialized when compiling the vocabs
Because if they are then load-all will error out if you don't have the
needed dlls installed.
2016-10-09 10:24:31 +02:00
Björn Lindqvist 560900275a tools.image-analyzer.gc-info.tests: trying again to fix the test 2016-10-08 16:42:32 +02:00
Björn Lindqvist 402a416ace tools.image-analyzer.gc-info.tests: fix tc so it works on windows 2016-10-08 13:55:44 +02:00
Björn Lindqvist 2b366028bb tools.image-analyzer.gc-info: updating vocab to work with new gc system 2016-10-08 09:52:35 +02:00
John Benediktsson 2628dbc5c9 io.directories.search.windows: merging with io.standard-paths.windows. 2016-10-06 14:57:40 -07:00
Björn Lindqvist d18fbb1678 benchmark: fix benchmark selection so it works like tools.test 2016-09-26 10:35:42 +02:00
Björn Lindqvist e32e45e590 benchmark: make it so you can select benchmarks to run
e.g: ./factor -benchmarks="benchmark.gc1 benchmark.gc2" extra/benchmark/benchmark.factor
2016-09-25 20:47:09 +02:00
John Benediktsson da6ee64786 checksums.process: change docs to use $unchecked-example. 2016-09-20 07:04:59 -07:00
John Benediktsson 73c153fa21 checksums.process: super minor cleanup, simplify trim-head. 2016-09-19 20:20:59 -07:00
Alexander Iljin 082e59d187 checksums.process: in the process-state tuple rename proc slot to process 2016-09-19 20:18:06 -07:00
Alexander Iljin 817338360c checksums.process: reimplement trim-hash and add tests
Use blank? to detect end of hash string.
2016-09-19 20:18:06 -07:00
Alexander Iljin 7bab7c3c67 checksums.process: initial commit 2016-09-19 20:18:06 -07:00
John Benediktsson d0c083c068 jamshred.sound: re-adding bang.wav that went missing awhile back. 2016-09-19 08:16:37 -07:00
Björn Lindqvist f233e2a567 openal.alut: fixing alut so it should throw better error messages 2016-09-14 15:53:29 +02:00
Björn Lindqvist 349f99661d compiler.*: Remove the scrubbing part of the GC maps
Instead of generating GC maps which describe which stack locations that
are uninitialized, we emit ##clear instructions for those locations in
front of ##call-gc instructions. This makes the context root scanning
much simpler because the GC can assume that all stack slots are
initialized. It also removes the compiler.cfg.stacks.vacant pass and
seem to reduce the image size slightly because many fewer GC maps needs
to be emitted.
2016-09-11 20:34:44 +02:00
John Benediktsson 11ec120c2d metar: some fixes for TAF parsing. 2016-09-07 16:04:59 -07:00
John Benediktsson 98be09e8ea metar: whoops, fix taf url. 2016-09-06 18:13:59 -07:00
John Benediktsson 4ab9ef90c3 metar: switching urls from weather.noaa.gov to tgftp.nws.noaa.gov. 2016-09-06 18:11:28 -07:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
Björn Lindqvist 61bbb9be06 tools.image-analyzer.*: new word for removing the tag bits 2016-09-02 07:51:42 +02:00
Björn Lindqvist cb39da4b31 math.vectors: new word vclamp for clamping vectors 2016-08-22 14:22:26 +02:00
Björn Lindqvist 3d3a930e17 pcre: fix so that version parses "8.36-RC1 2014-04-21" to a number too 2016-08-21 02:20:50 +02:00
Björn Lindqvist 26304112d6 curses.tests: only run the color test if term is color capable 2016-08-20 06:33:15 +02:00
Björn Lindqvist 485a45a719 extra/: ensuring tests have an IN:-line ending with .tests 2016-08-20 06:01:16 +02:00
Björn Lindqvist eb8ce16277 pcre: only include PCRE_UCP on versions >= 8.10 of PCRE
Very old versions of the library doesn't seem to have that option.
2016-08-19 21:09:00 +02:00
Björn Lindqvist 3ea34c667d pcre: new word 'version' for getting the version of the library 2016-08-19 20:50:58 +02:00
Björn Lindqvist 5603e3ff67 pcre.tests: fix tcs that breaks on pcre 8.39 2016-08-19 18:44:32 +02:00
xzenf 4738824fb2 twitter: Changed twitter-url to use >url 2016-08-17 17:54:58 -07:00
John Benediktsson ad989bf48b checksums.crc16: moving to basis from extra. 2016-08-16 16:21:08 -07:00
Alexander Iljin d3051ab8b1 checksums.crc16: new vocabulary 2016-08-16 16:17:11 -07:00
John Benediktsson e3f6999519 etc-hosts: new vocab. 2016-08-14 11:43:20 -07:00
Björn Lindqvist a36c0cb5ac compiler.*: moving all words only relevant for testing to compiler.test 2016-08-12 15:13:51 +02:00
Björn Lindqvist ae85746787 compiler.cfg.gvn.tests: this vocab in extra appears redundant
It is almost identical to the one in compiler.cfg.value-numbering.tests
so I think it can be removed.
2016-08-12 14:14:13 +02:00
Björn Lindqvist ddc5ece757 alien.*: frontend varargs support! #1677
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g

: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
John Benediktsson ed29fbd93f cuckoo-filters: less duplication in cuckoo-insert. 2016-08-08 19:39:24 -07:00
John Benediktsson c09cfd586c cuckoo-filters: change language to refer to fingerprints. 2016-08-08 17:01:53 -07:00
John Benediktsson eebdf93e45 cuckoo-filters: minor cleanup. 2016-08-08 15:54:58 -07:00
John Benediktsson 0f1f465f42 cuckoo-filters: using alien deref in tag-index. 2016-08-08 15:18:36 -07:00
John Benediktsson ca05d4cefb cuckoo-filters: adding some documentation. 2016-08-08 15:15:08 -07:00
John Benediktsson eba31d687f cuckoo-filters: add tests for lookup each value also. 2016-08-08 14:31:36 -07:00
John Benediktsson 51dcceed34 cuckoo-filters: new vocabulary. 2016-08-08 10:17:00 -07:00
John Benediktsson e5ca25254e bloom-filters: adding summary.txt. 2016-08-08 10:17:00 -07:00
Doug Coleman 40894853b2 forestdb.ffi: update to latest .h files 2016-08-04 18:19:06 -07:00
Björn Lindqvist c1c1a92c8f terminfo: new platforms.txt 2016-08-05 01:07:31 +02:00
John Benediktsson 4387da41d5 tools.cal: adding the "cal" utility.
Example usage:
$ ./factor -run=tools.cal
    August 2016
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
2016-08-03 11:28:28 -07:00
John Benediktsson d015f028db sequences.extras: adding pad-center. 2016-08-03 11:25:06 -07:00
Björn Lindqvist 48bd0d2b66 ui.tools.*: fix swapped argument order for set-tool-dim 2016-07-30 19:03:23 +02:00
Björn Lindqvist 9a62e1188b terminfo.tests: two sanity tests 2016-07-30 19:03:22 +02:00
Björn Lindqvist e8f03d9e3a terminfo: makes it so terminfo files are looked up from a set of dirs
On Ubuntu, terminfo files are stored in /lib/terminfo, but they can also
be found in any of the other dirs listed in TERMINFO-DIRS.
2016-07-30 19:03:22 +02:00
Alexander Iljin b5b991f9e2 progress-bars.models-docs: fix example code for with-file-reader-progress 2016-07-30 09:25:30 -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 cca231cef1 project-euler.265: fix bad refactor. 2016-07-12 09:07:10 -07:00
John Benediktsson 46aa1f2088 math.approx: fix typo in docs. 2016-07-11 21:09:11 -07:00
John Benediktsson 8d077a96ad using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if. 2016-07-11 21:01:03 -07:00
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
John Benediktsson 58dd52e82e hashcash: quick fix for string argument to checksum-bytes. 2016-06-30 14:50:47 -07:00
Björn Lindqvist fae21b7229 youtube: throw an error if the given youtube video isn't downloadable
well it is, but you have to go through lots of hops to download "secure"
videos
2016-06-23 02:20:25 +02:00
Björn Lindqvist d16e4272b2 space-invaders: calling exit-openal otherwise sound can get stuck when quitting the game 2016-06-17 00:31:47 +02:00
Björn Lindqvist 1df34203e6 24-game: fixing invalid operator input handling in get-operator 2016-06-16 23:41:17 +02:00
Björn Lindqvist eeaffb14b8 24-game: fixing game to use formatting vocab 2016-06-16 23:28:02 +02:00
Björn Lindqvist ea4333e490 io.directories: new utility word make-parent-directories, for making sure directories exists 2016-06-15 00:33:44 +02:00
John Benediktsson 8aadd38071 peg.javascript.tokenizer: rename escape rules slightly. 2016-06-12 06:52:23 -07:00
John Benediktsson e7fa92baac peg.javascript.tokenizer: support hex and unicode escapes. 2016-06-12 06:41:59 -07:00
John Benediktsson 29a2a25954 peg.javascript: add some other escapes since we're doing this. :-) 2016-06-11 15:22:20 -07:00
catb0t 385cf35e7f peg.javascript.tokenizer: allow escaped quotes in strings
Previously, the tokenizer didn't understand
escaped quotes in string literals. Also added was
a test to ensure the escaping works.
2016-06-11 15:17:50 -07:00
Jon Harper 8a34de9626 rosetta-code.image-noise, use status bar for FPS 2016-06-04 07:23:43 -07:00
Jon Harper b3155d980e rosetta-code.image-noise, bring back fps after c7ca226 2016-06-04 15:43:32 +02:00
Doug Coleman 21461a1b75 core: selector-for and collector-for are the wrong naming convention--they should be selector-as and collector-as because they take exemplars.
The exemplar is the starting length of the output sequence in collector-as, so add another collector-for-as that takes a seq that we are making a collector for.
2016-05-26 14:36:11 -07:00
Doug Coleman 88fa8b6bba forestdb.lib: testing in auto-compact mode needs a pair of unique files. 2016-05-23 13:47:25 -07:00
John Benediktsson ff2f58ac4b ui.theme.switching: default font colors. 2016-05-22 07:53:21 -07:00
Doug Coleman 7bd0d51359 forestdb: open normal commit. 2016-05-21 01:30:11 -07:00
Doug Coleman a1914959d3 forestdb: fix using. uncomment some code. 2016-05-20 20:01:15 -07:00
Doug Coleman 936333f1b7 managed-server: add another constructor. 2016-05-20 19:42:16 -07:00
Doug Coleman b66cebfb86 forestdb: update to latest. fix tests to be better. if there's a .meta file (auto-compaction) then the old tests would fail. 2016-05-20 19:42:16 -07:00
Doug Coleman d00e986b3d combinators.extras: fix unit tests. 2016-05-11 14:18:48 -07:00
Doug Coleman 8330256b1d combinators.extras, generalizations:: Add experimental combinators for 1res, 1arg. 2016-05-11 11:53:29 -07:00
Doug Coleman eb84850315 ui.gadgets.lists: Fix using for themes. 2016-05-10 02:35:26 -07:00
John Benediktsson a07b411834 bencode: adding bencoding vocabulary. 2016-05-09 21:38:05 -07:00
Doug Coleman c1d78e87ff stream.extras: add print-flush, write-flush, etc. 2016-05-09 17:18:08 -07:00
Doug Coleman 7f3adf3fb1 sequences.extras: add map-keys, map-values. 2016-05-09 16:28:04 -07:00
Doug Coleman 7ced47a6b1 irc.gitbot: fix command. 2016-05-09 16:07:15 -07:00
Doug Coleman 3f27df6d0a irc.logbot.log-line: print the user prefix. 2016-05-09 15:43:20 -07:00
Doug Coleman d3570f2b22 irc.gitbot: update to be configurable. 2016-05-09 15:09:54 -07:00
Doug Coleman e28328af70 forestdb.ffi: fix struct layout. 2016-05-09 14:58:02 -07:00
Doug Coleman cd89da032d irc: use utf8 instead of latin1. not sure if this is the best idea. 2016-05-09 12:11:44 -07:00
Doug Coleman 449c740b23 client.base: paremeters was getting the channel name instead of the channel>> slot. try to fix it in chat-message. 2016-05-09 11:59:42 -07:00
Doug Coleman 2d5368f4af irc.messages.parser: simplify parser 2016-05-09 11:49:19 -07:00