]> gitweb.factorcode.org Git - factor.git/commit
python.syntax: new way to bind python functions to factor words and updated tests
authorBjörn Lindqvist <bjourne@gmail.com>
Mon, 27 Oct 2014 12:41:03 +0000 (13:41 +0100)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 27 Oct 2014 16:52:04 +0000 (09:52 -0700)
commit584e9c5ce283f3bf365d9b991fe66dcb9e8ac24b
tree595e66c510f2103572a3315ab4ab2a77de3f94c9
parentf0b07540d3f845d277a7ac8c6b5f110033dd0a89
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.
extra/python/syntax/syntax-tests.factor
extra/python/syntax/syntax.factor