summaryrefslogtreecommitdiff
path: root/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn
diff options
context:
space:
mode:
authorArne Babenhauserheide <arne_bab@web.de>2011-04-15 10:50:18 +0200
committerArne Babenhauserheide <arne_bab@web.de>2011-04-15 10:50:18 +0200
commitd01349af32f38db92d950a928a51710beb9a1c83 (patch)
treeaa0fd5ee4d49470d6a0b97b5d88cb667e4056320 /community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn
parent4d56c282c512fa5288387918c98f1489ccf4a334 (diff)
PyHurd proposal: markup cleanup + some minor corrections.
Diffstat (limited to 'community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn')
-rw-r--r--community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn27
1 files changed, 10 insertions, 17 deletions
diff --git a/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn b/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn
index 28beb812..ad9a2059 100644
--- a/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn
+++ b/community/weblogs/ArneBab/2011-04-06-application-pyhurd.mdwn
@@ -27,19 +27,19 @@ For this years GSoC I want to turn the currently rudimentary Python Bindings of
* *May 23.*
Coding starts.
* *May 30.*
- Finished a basic Hello World translator, naively implementing the necessary Mach parts directly in the translator.
- 1. A simple program which gets a Mach port and can receive messages on that port. It has to get and hold its port at startup and send a reply port, needs to use mach_msg to get the messages, should be able to deallocate the port and must have a kill condition (for example 10 received messages).
- 2. stdout functionality, to print all Mach messages (for debugging and to make sure that they really get received entirely).
+ Finished a basic Hello World translator, naively implementing the necessary Mach parts directly in the translator.
+ 1. A simple program which gets a Mach port and can receive messages on that port. It has to get and hold its port at startup and send a reply port, needs to use mach_msg to get the messages, should be able to deallocate the port and must have a kill condition (for example 10 received messages).
+ 2. stdout functionality, to print all Mach messages (for debugging and to make sure that they really get received entirely).
3. a parser for the Mach read file message similar to trivfs\_S\_io\_read
* *June 6.*
Moved the functionality for reading into a simple API using decorators to define actions
and ported Hello World to use it:
- """Show Hello World."""
- from translator import repres
- @repres.text.read
- def say_hello(size):
- return "Hello, World!"[:size]
+ """Show Hello World."""
+ from translator import repres
+ @repres.text.event
+ def on_text_read(size):
+ return "Hello, World!"[:size]
* *June 13.*
Implemented single file read-write in the API. Added a simple writethrough translator. The API code is nicely commented.
* *June 20.*
@@ -57,19 +57,12 @@ For this years GSoC I want to turn the currently rudimentary Python Bindings of
* *August 1.*
Redesigned and realized an updated controlling API with the existing direct Cython bindings.
* *August 8.*
- More translators.
+ More translators and integrating into the build system.
* *August 15.*
- Suggested Pencils down. The translator API is easy to use, there are many example translators and there is a full featured settrans command in Python using the easier controlling API which shows how to control the Hurd directly from Python.
+ Suggested Pencils down. The translator API is easy to use, there are many example translators and there is a full featured settrans command in Python using the easier controlling API which shows how to control the Hurd directly from Python. The code is pushed to <https://github.com/ArneBab/PyHurd> and a git repo at <http://git.savannah.gnu.org/cgit/hurd> and integrated into the build system with a switch to enable building PyHurd.
* *August 22.*
Firm pencils down.
-2.
-3. Realize a pythonic trivfs library and an example translator using it.
-4. Mid-Term: trivfs works. Push the code to https://github.com/ArneBab/PyHurd
-5. Ideally seperate the libraries, so programmes can simply import the convenience functionality they need.
-6. Re-implement some hurd specific utils in pyhurd such as settrans.
-7. With the remaining time, create as many interesting translators as possible. Ideas include all compression formats supported by Python, markdown to HTML translators to be accessed with nsmux (file.mdwn,,html), automatic version tracking directories and overlay stores which store changes to nonchanging files like squaschfs, but also simple translators like translator-based write-locking of files by not catching write-accesses.
-8. Push the final code to https://github.com/ArneBab/PyHurd
## Initial Fix