luvit/luvit — pull request #27 by piscisaureus (2011-12-01 21:28:24+00:00)
Title: Winstart

Hi Tim,

I wanted to play a little with luvit today because it was on HN but it wouldn't compile on windows. I made a few fixes to make it compile with Mingw32. I know you don't care one bit about windows compatibility, but maybe someone else will one day :-).

It's not as if it now works fine on windows. Some (major) problems that remain:

- Path handling is totally broken on windows.
- When stdin or stdout is redirected to a file or pipe, luvit crashes. Luvit assumes that stdin and -out are always a TTY, which is wrong.
- require() seems to not always work, could be due to path handling being broken.
- Native extensions can't be built.

Oh, a screenshot: http://twitpic.com/7mr1zn

Best, Bert