Doug Coleman
924b434336
Revert "factor: vocab:word -> vocab::word"
...
This reverts commit 354f1cbd34 .
2018-08-02 08:21:52 -04:00
Doug Coleman
53b1a81049
Merge branch 'master' into modern-harvey2
2018-06-20 00:26:12 -05:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Doug Coleman
64ccdc40a0
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-03-06 10:57:40 -06:00
Doug Coleman
0b4ec06460
python: Fix docs for when python dll is missing.
2018-02-19 17:09:59 -06:00
Doug Coleman
9c72ab89b2
python: Fix like three thinko bugs but it works now.
2018-02-19 16:32:25 -06:00
Doug Coleman
f2a86e0bae
python: Fix unit tests -- only test when library is loaded.
...
Also reformat some unit tests that have a quot as the stack output.
2018-02-19 15:01:08 -06:00
Doug Coleman
7a729b7637
python: Only call the init if python is actually present.
...
Fixes #1952
2018-02-19 10:41:46 -06:00
Doug Coleman
354f1cbd34
factor: vocab:word -> vocab::word
2017-12-29 00:43:25 -08:00
Doug Coleman
3d83bb9f06
Merge remote-tracking branch 'local-master/master' into modern-harvey2
2017-12-24 14:59:58 -08:00
Doug Coleman
65acaaff47
python.syntax: Make a couple python tests long-unit-test.
...
They take 5s or more.
2017-12-09 16:31:21 -06:00
Doug Coleman
3aa096e2e5
docs: Update docs.
2017-08-31 21:21:14 -05:00
Doug Coleman
147ae66ab5
factor: SYNTAX: \foo
2017-08-31 21:21:13 -05:00
Björn Lindqvist
72807720f2
basis/,extra/: lots of new tags.txt files
2017-07-05 01:50:39 +02:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05: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
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
Björn Lindqvist
b035e8ec13
math.hashcodes,python.syntax: bi@ and -> both?
2015-11-04 09:25:32 +01:00
Doug Coleman
0176591527
factor: actual patch to remove ; from all c/fortran functions
2015-07-19 16:25:30 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824 .
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
6e60c811ac
core: Rename create to create-word, create-in to create-word-in.
2015-06-08 12:47:35 -07:00
John Benediktsson
3f98ac4a30
python: rename startup/shutdown hooks.
2014-12-24 08:10:52 -08:00
John Benediktsson
bcbd6c55e4
extra: "1 tail" is rest.
2014-11-29 17:44:43 -08:00
Benjamin Pollack
3359e9716b
Link to the Python binding documentation from the Python vocabulary
2014-11-04 16:01:51 -08:00
John Benediktsson
6d6303010f
python.objects: use flags{ } for flags.
2014-10-31 11:35:15 -07:00
Björn Lindqvist
929fca6b7e
python: both METH_VARARGS METH_KEYWORDS needed in ml_flags should fix #1171
2014-10-31 10:48:55 -07:00
Björn Lindqvist
8cbfaa9450
python.objects: fix <py-cfunction> need to malloc-struct PyMethodDef
2014-10-27 19:38:27 -07:00
Doug Coleman
60f7197134
python: Fix >py stack effect for docs.
2014-10-27 11:33:59 -07:00
Björn Lindqvist
584e9c5ce2
python.syntax: new way to bind python functions to factor words and updated tests
...
this way avoids binding literal alien values inside the words which is
just wrong. the hardcoded alien addresses goes "out of sync" when
factor is restarded and causes crashes.
2014-10-27 09:52:04 -07:00
Björn Lindqvist
f0b07540d3
python.tests: more destructors & refcounting tests
2014-10-27 09:52:04 -07:00
Björn Lindqvist
e819e34cec
python.modules: vocab hierarchy for standard library modules
...
pre-existing bindings for various python modules can be placed here so
that they dont have to be redeclared for everyone using them
2014-10-27 09:52:04 -07:00
Björn Lindqvist
87b0205c87
python: correction of reference counting logic and addition of None bindings
2014-10-27 09:52:04 -07:00
Björn Lindqvist
3feec7b14b
python.errors: new semantics for unsteal-ref
2014-10-27 09:52:04 -07:00
Björn Lindqvist
a3fe45e7ac
python: fix a reference leak in the (>py) word
2014-10-23 17:01:46 -07:00
Björn Lindqvist
4029bf7a17
python: feature to create python callbacks/functions, now you can call hofs like map and reduce
2014-10-23 17:01:46 -07:00
Björn Lindqvist
ba564d1b78
python: new syntax PY-QUALIFIED-FROM, so you can import eg __builtin__:map and not have it clash with factors map
2014-10-23 17:01:45 -07:00
Björn Lindqvist
43dc1ba259
python: docs for python-error
2014-10-02 08:32:39 -07:00
Björn Lindqvist
a530a10187
python: tests and plug a reference leak in the exception throwing code
2014-10-02 08:32:39 -07:00
Björn Lindqvist
ab75bcb60f
python.throwing: new module to support capturing python tracebacks
2014-10-02 08:32:39 -07:00
Doug Coleman
85f5075c83
python.ffi: Use find-library-from-list instead of all that crufty code.
2014-07-08 11:59:07 -07:00
John Benediktsson
ccfd9101f0
python: change to py-initialize in startup-hook and py-finalize in shutdown hook.
2014-07-06 10:18:27 -07:00
Doug Coleman
91b16d7ed1
python: Call py-initialize in example, just in case it hasn't been called. Otherwise, python segfaults..
2014-07-04 01:56:03 -07:00
Doug Coleman
c0b7fb6a23
python.ffi: Disable python3
2014-07-04 01:25:22 +00:00
Doug Coleman
5c8bb0f69e
python.ffi: On Arch Linux, the library is called libpython3.so
2014-07-04 01:17:22 +00:00
John Benediktsson
daec237fea
python.syntax: fix tests when run first.
2014-03-12 20:01:11 -07:00
John Benediktsson
6ed0db20fd
python.syntax: fix py-import.
2014-03-12 07:27:39 -07:00
John Benediktsson
abf610b2e4
python: fix help-lint warnings.
2014-03-04 11:06:55 -08:00