Hi, all!

The past two evenings i've made good progress on ncurses bindings for
v8. The sources are available here:

http://fossil.wanderinghorse.net/repos/v8-addons/

It's currently got 83 bound functions, but a lot of bindings haven't
yet been ported, so it's not all that terribly usable yet (e.g. you
can create all the windows you want, but can't add text to them just
yet). The original port (in SpiderMonkey/SpiderApe) wraps about 150
ncurses functions, so i've still got some work ahead of me (most copy/
paste/adjust-to-v8-api), but it shouldn't take more than a few more
days.

So, if you're into curses programming, you will soon be able to do it
in v8. And if you're into curses but haven't yet tried it in JS,
you're in for a treat. Writing curses apps in JS is several times
faster than writing them in C, and JS is a perfect glue for the event
model of curses, making it simple to attach arbitrary JS event
handlers to keys. That said, it's *still* curses, so one still has to
fight with it a bit sometimes ;).

Happy hacking!
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to