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
John Benediktsson
14f43d8cb8
python: rename >factor to py>, rename import to py-import, minor stuff.
2014-03-04 09:39:02 -08:00
Björn Lindqvist
5157d84a6b
python: set PYTHONHOME
2014-03-04 09:23:05 -08:00
Björn Lindqvist
f69061f857
python: fix path to test file
2014-03-04 09:23:05 -08:00
Björn Lindqvist
b4037ae336
python: improved docs, support for kwargs to methods and sets sys.argv
2014-03-04 09:23:05 -08:00
Björn Lindqvist
577edc79c2
python: support for kwarg functions
2014-03-04 09:23:05 -08:00
Björn Lindqvist
ac28527d53
python: vocab split into subvocabs python.errors and python.objects for
...
easier maintenance
2014-03-04 09:23:05 -08:00
Björn Lindqvist
eb612e25b0
python: More documentation, privatization of words in python.syntax
2014-03-04 09:23:05 -08:00
Björn Lindqvist
8bfd12c0f8
python: metadata files and a first stab at documentation
2014-03-04 09:23:04 -08:00
Björn Lindqvist
715d426ad3
python: word for converting python lists to vectors
2014-03-04 09:23:04 -08:00
Björn Lindqvist
8ed7fe02ac
python: setup serialization between vectors and python lists
2014-03-04 09:23:04 -08:00
Björn Lindqvist
d5c0e84fe2
python: setattr wrapping
2014-03-04 09:23:04 -08:00
Björn Lindqvist
981c26596c
python: much improved syntax, $ sigil used to get object values
2014-03-04 09:23:04 -08:00
Björn Lindqvist
a75a5d7458
python: syntax for methods and ditching of the auto-marshalling words, the syntax didn't turn out great
2014-03-04 09:23:04 -08:00
Björn Lindqvist
6a8fe41b90
python: compressed using lines
2014-03-04 09:23:04 -08:00
Björn Lindqvist
0af4fee085
python.syntax: vocab that makes python functions work like factor words
2014-03-04 09:23:04 -08:00
Björn Lindqvist
7b92bad65a
python: the os module is considerably smaller on windows
2014-03-04 09:23:03 -08:00
Björn Lindqvist
c18e968aaa
python: several more builtin functions and refcounting fixes
2014-03-04 09:23:03 -08:00
Björn Lindqvist
65c1500812
python: more correct reference counting, handles ucs2 and ucs4, stdlib module wrappers
2014-03-04 09:23:03 -08:00
Björn Lindqvist
175a469e49
python: ucs2 and ucs4
2014-03-04 09:23:03 -08:00