diff options
Diffstat (limited to 'community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn')
-rw-r--r-- | community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn b/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn index 662f7a96..420b1cab 100644 --- a/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn +++ b/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn @@ -108,4 +108,12 @@ Also i want to get it merged into the main git repositories, so it is directly a ### Anything else you want to add to your application? -Alternately I would also like to work on [[fixing Python testsuite breakages|community/gsoc/project_ideas/perl_python]]. Both tasks together (PyHurd and Testsuite) work towards having Python as first-class citizen on the Hurd, adding all of the Python standard library to the options for using the Hurd. +I’d love to work on PyHurd, because it grips me more and more. A high level API might get as simple as + + from translator.source.text import * + from translator.representation.tree import * + def source_text_changed(text): … (adapt tree object) + def repres_tree_changed(tree): … (adapt text object) + → 2-way connecting + writeonly is then done by simply leaving out the definition for the source_<whatever>_changed. + source is the node below and repres is the translated node |