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
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
8e4fe207f1
modern: Fix compound syntax unit tests.
2017-09-24 22:22:40 -05:00
Doug Coleman
e8a72b0268
modern: Disallow compound syntax for now.
2017-09-24 12:40:32 -05:00
Doug Coleman
4c017a7f76
zealot: use n-groups
2017-09-18 19:27:58 -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
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
153f5372d3
factor: Really disable long unit tests for zealot. Only test root by
...
root.
2017-09-16 11:08:35 -05:00
Doug Coleman
00c4069640
zealot.factor: Disable long unit tests.
2017-09-16 09:58:59 -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
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
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
Doug Coleman
7ff2b9c345
zealot: Initial commit.
...
Zealot is a replacement for mason that allows parallel testing, testing
branches, and over-engineered git commands.
2017-09-15 01:01:43 -05:00
Doug Coleman
994485a90c
cli.git, web-services.github: Better api.
2017-09-15 00:34:50 -05:00
Doug Coleman
b8f9b6f8db
gpu.util: fix load error
2017-09-11 18:07:36 -05:00
Doug Coleman
ff93f58304
Merge branch 'master' into modern-harvey
2017-09-11 17:59:01 -05:00
Doug Coleman
eb1bcf642c
factor: fix load-all
2017-09-11 17:46:06 -05:00
Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
200b5192ed
factor: commit weekend work.
2017-09-11 16:37:47 -05:00
Doug Coleman
d4612f2140
Merge branch 'master' of git://factorcode.org/git/factor into modern-harvey
2017-09-06 21:52:37 -05:00
John Benediktsson
5a0bc9621d
git: use with-test-directory.
2017-09-04 19:45:25 -07:00
Doug Coleman
060a98a01a
modern: Fix unit tests
2017-09-04 14:26:17 -05:00
Doug Coleman
646b627854
factor: remove trailing whitespace
2017-09-04 14:10:34 -05:00
Doug Coleman
3e77867cd2
modern: no postprocessing for concatenated tokens, instead...
...
take tokens until there is whitespace between them, then start a new
group of tokens
2017-09-04 14:07:52 -05:00
Doug Coleman
0e1eb52c4c
modern: the looping is tricky...this version is correct
2017-09-04 11:47:57 -05:00
Doug Coleman
d8d7c0cd3c
modern: Allow comound literals
2017-09-04 11:33:47 -05:00
Doug Coleman
d3497b9f6b
modern: working on compound tokens
2017-09-04 11:04:55 -05:00
Doug Coleman
2773cbf889
modern.out: Add a <renamed> word to keep spacing correct when
...
refactoring.
"math" [ dup { [ slice? ] [ seq>> string? ] } 1&& [ dup >upper <renamed> ] when ] rewrite-vocab
2017-09-03 13:28:39 -05:00
Doug Coleman
9a983d611f
modern: refactorig
2017-09-03 12:59:44 -05:00
Doug Coleman
2e89f86d16
modern.compiler: fix map-literals
2017-09-03 12:32:30 -05:00
Doug Coleman
26f74e9d83
modern: working on the compiler
2017-09-03 12:13:06 -05:00
Doug Coleman
1626d19711
git: update syntax
2017-08-31 22:52:00 -05:00
Doug Coleman
199e710597
modern.out: maybe simplify
2017-08-31 21:21:15 -05:00
Doug Coleman
14139f8fad
modern.out: Remove symbol.
2017-08-31 21:21:15 -05:00
Doug Coleman
1316cdee79
modern.out: Cleanup. No variable needed.
2017-08-31 21:21:15 -05:00
Doug Coleman
4b61c0b776
modern: Found some more trailing whitespace.
2017-08-31 21:21:15 -05:00
Doug Coleman
3fec06f36e
modern.out: Trying to trim trailing whitespace.
2017-08-31 21:21:15 -05:00
Doug Coleman
fb6defd60f
modern: More whitespace cleanup and rewrite all files except functors!
2017-08-31 21:21:15 -05:00
Doug Coleman
e4f64e80bf
modern: Remove functor paths for now.
2017-08-31 21:21:15 -05:00