dorellang / hunter

Hunter: a JavaScript reengineering platform.
MIT License
34 stars 3 forks source link

Support Windows #40

Closed tinchodias closed 5 years ago

tinchodias commented 5 years ago

Hunter is currently limited to unix-like OSs because it uses OSSubprocess to execute the (nodejs) esprima wrapper. But there are other options to do it that would support Windows.

In the development branch, I have a proposal using LibC class, that's already in Pharo 7 and should work. The only drawback is that it can't use a pipe to read the stdout of the nodejs esprima wrapper and isnterad must use a temporary file, making the parsing process slower.

tinchodias commented 5 years ago

I still have to test it in my notebook with Windows 10.

tinchodias commented 5 years ago

Done: development branch tested on Windows 10

tinchodias commented 5 years ago

Merged in master