Commit Graph

30239 Commits (cada003d7f29a8b179bdba26fb456672991e0bb9)

Author SHA1 Message Date
Doug Coleman cada003d7f factor: Rename ``M\ array generic`` to ``m: { array generic }``.
The problem with M\ is that it has an arity of 1 where we need it to have arity 2. Also, for multimethods, the \ disables parsing of the array that follows, e.g. ``M\ { string string } multimethod-name`` parses as ``M\ {`` and leaves the rest unparsed. This is obviously wrong.

An alternative syntax that should be implement and looks ok is ``m{ array generic }``
2017-10-01 09:51:31 -05:00
Doug Coleman 8e14c52dd1 game.input.demos.key-caps: \foo\ syntax works. 2017-09-30 21:33:26 -05:00
Doug Coleman a450350854 modern.compiler: literals>tuples works. 2017-09-30 17:32:18 -05:00
Doug Coleman 57e668d704 modern.compiler: Convert slices to objects. 2017-09-30 14:14:38 -05:00
Doug Coleman 6fe38fde00 modern: Fix case for "<PRIVATE FOO: foo PRIVATE>"
At the end of a file the length of the string is f, so this needs to be
fixed up for calculations.
2017-09-30 14:14:38 -05:00
Doug Coleman 2ce052c981 vm: Line up larger memory output. 2017-09-30 14:14:38 -05:00
Doug Coleman f0e121051d find.extras: Add an old prototype parser and some cool util words.
These words are not fast enough to be the main parser.
2017-09-30 13:58:59 -05:00
Doug Coleman affbc492d7 modern.compiler: wip 2017-09-30 08:52:03 -05:00
Doug Coleman 5a8f9284ab sequences.extras: add count-head and count-tail 2017-09-28 22:41:21 -05:00
Doug Coleman 577d4618ca core: keep nip cleanup. 2017-09-28 22:20:32 -05:00
Doug Coleman 5582ea1b02 escape-strings: Fix case where string ends in ] or ]=
Add escape-strings for nested strings.
2017-09-28 22:19:46 -05:00
Doug Coleman 86c086bafc Revert "openssl.libssl: The SSL struct has grown a lot."
This reverts commit a1fe918276.

Crashes.
2017-09-24 23:16:01 -05:00
Doug Coleman a1fe918276 openssl.libssl: The SSL struct has grown a lot.
Maybe this is related to #1860.
2017-09-24 23:09:23 -05:00
Doug Coleman 8e4fe207f1 modern: Fix compound syntax unit tests. 2017-09-24 22:22:40 -05:00
Doug Coleman 516a6909ac unicode: Bump the version number, use CONSTANT: 2017-09-24 19:27:18 -05:00
Doug Coleman f7ddfb44b7 unicode.collation: Fixes 40k+ unit tests, but is a change from Unicode 9.0 to 10.0
It looks like the fourth weights in the collation algorithm now generate fewer 0xffff, particularly when the secondary and tertiary slots are zero.
2017-09-24 19:26:02 -05:00
Doug Coleman 341f2c3307 xml: Word names like foo]] are not allowed.
Names like foo]] are alternative syntax for closing foo[ ] forms, e.g. foo[ foo].

foo]] parses as a foo] closer and then another ]
2017-09-24 13:15:10 -05:00
Doug Coleman c3e137c08a escape-strings: Fix syntax. 2017-09-24 13:12:49 -05:00
Doug Coleman e8a72b0268 modern: Disallow compound syntax for now. 2017-09-24 12:40:32 -05:00
Doug Coleman b8a502d7e2 math.functions.integer-logs: Word names like (foo) should only exist if foo exists. 2017-09-24 12:32:09 -05:00
Doug Coleman c1bdb4b11e unicode: Update to Unicode 10.0 from last year's patch. 2017-09-20 21:00:31 -05:00
Doug Coleman f5657ac469 Merge branch 'modern-harvey' of github.com:factor/factor into modern-harvey 2017-09-20 18:19:36 -05:00
Doug Coleman 4c017a7f76 zealot: use n-groups 2017-09-18 19:27:58 -05:00
Doug Coleman 03db55e15b Merge remote-tracking branch 'origin/master' into modern-harvey 2017-09-18 17:37:25 -05:00
Doug Coleman e42fcb812e Merge remote-tracking branch 'origin/master' into modern-harvey 2017-09-18 17:34:40 -05:00
John Benediktsson ab55560fed grouping.extras: add <n-groups> and n-group. 2017-09-18 14:51:58 -07:00
Doug Coleman 4b065d4790 tools.test: Working on crazy unit tests. 2017-09-16 23:25:54 -05:00
Doug Coleman 9ef9cae60f escape-strings: Add a way to find minmal escapes for a lua/magic
string.
2017-09-16 17:21:31 -05:00
Doug Coleman 722a335b68 io.streams.string: Add with-error-string-writer for unit testing. 2017-09-16 16:57:41 -05:00
Doug Coleman aeebe0bbbe debugger: Support for assert-string 2017-09-16 16:50:17 -05:00
Doug Coleman 6939b2ca5f io.errors: Add words to print to error-stream as easily as to
output-stream.
2017-09-16 16:50:04 -05:00
Doug Coleman 3c8da3722d sequences: Add assert-string=.
assert-sequence= prints strings as sequences of numbers, which is less
useful for writing unit tests.
2017-09-16 16:45:42 -05:00
Doug Coleman f32b6a171c tools.test: Add UNIT-TEST: top-level form. 2017-09-16 15:42:10 -05:00
Doug Coleman 76a6235940 zealot.factor: Print a message for each step. 2017-09-16 12:27:04 -05:00
Doug Coleman 4d3bc90e9d zealot: ensure that the github source exists on disk. 2017-09-16 12:21:00 -05:00
Doug Coleman 70076fa7cd tools.coverage: fix using 2017-09-16 11:23:16 -05:00
Doug Coleman 153f5372d3 factor: Really disable long unit tests for zealot. Only test root by
root.
2017-09-16 11:08:35 -05:00
Doug Coleman 122a73b5ac basis: Fix a couple of trivial regressions. 2017-09-16 10:59:33 -05:00
Doug Coleman 0a7b50f208 Revert "tools.deploy.test: shake-and-bake is a long-unit-test"
This reverts commit a09cc13a17.
2017-09-16 10:49:40 -05:00
Doug Coleman a09cc13a17 tools.deploy.test: shake-and-bake is a long-unit-test 2017-09-16 10:23:29 -05:00
Doug Coleman 00c4069640 zealot.factor: Disable long unit tests. 2017-09-16 09:58:59 -05:00
Doug Coleman 953ddc566f factor: Fix test errors. 2017-09-16 08:58:20 -05:00
Doug Coleman 1b138a74ec zealot.factor: Test core, load basis and extra images for testing. 2017-09-16 06:38:11 -05:00
Doug Coleman 3dc8f5e039 core: Fix using list. 2017-09-16 06:32:01 -05:00
Doug Coleman fbbf2eb550 zealot.factor: Try to load/test basis/extra in two processes. 2017-09-16 02:24:39 -05:00
Doug Coleman 51d5ca0695 zealot: Load basis/extra in parallel. 2017-09-16 02:05:45 -05:00
Doug Coleman 160632c3e6 Nmakefile: Let cl decide how many threads to use. 2017-09-15 19:40:26 -05:00
Doug Coleman 233d29d8de Nmakefile: Parallel! 2017-09-15 19:07:29 -05:00
Doug Coleman ea429d347d rosetta-code: Can't use array[ ] on words that are not compiled yet. 2017-09-15 17:56:01 -05:00
Doug Coleman c24680b93d zealot: tweak to make it work on windows.
mason uses build.cmd to build factor, but that's super slow for some
reason. using nmake gives you normal speeds!
2017-09-15 17:25:16 -05:00