For those who are interested, I have made my progress available here: http://github.com/supersimon/js/tree/master
I have provided some basic documentation in the project wiki. Any contribution is more than welcome, be it in the form of a bug report, a test case, a feature request, or (of course) code! The Standard Library is currently implemented in a mix of C++ and JavaScript (have a look at io.cpp and prelude.js). In the future, prelude.js should probably be loaded implicitly by the executable. Since the regular expression engine in V8 is slow (which is to say, it's not MUCH better than other JavaScript engine implementations), I have also experimented a bit with using Oniguruma (the same engine as Ruby 1.9 is using, supports named captures and lots of other sexy stuff: http://www.geocities.jp/kosako3/oniguruma/) as the backend for the RegExp class instead. This is not of high priority for me, though, so if anyone is interested in picking up on that project, I will be glad to help you out with what I can. :-) The IO library is also screaming for better binary data support from V8. I would be interested to know if the V8 team intends to implement support for raw strings (or some other class), or if it's necessary to write our own. Currently, the project only supports input/output formatted as UTF-8 strings. Binary data will be mangled. For me, the next thing to implement in js is process control (fork et al). There is a TODO file in the project, where anyone can look for work. Additions are also very welcome. As a final note, the code could probably do with a bit of restructuring and refactorisation, so feel free to break stuff. Sincerely, Simon --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
