> > If you decide to continue with your separate project I can see two > different paths of collaboration for Pythonium and Pyjs: > > 1. test suite as discussed earlier > 2. a runtime engine, you call this "pythonium.veloce.js" in your readme > > I think both of those could be independent projects that both Pyjs and > Pythonium could depend on and thus allow some diversity and at the same > time some re-use of resources on the really hard stuff. >
I made good progress on Pythonium compliant mode, it now runs pystone.py [1], I beg you to try it to at least compare the generated code. I evaluate support of Python language between 70% and 80% as python exception are still not completly handled, there is no support for yield and yield from, nor with statment, I did not update list comprehension support, args & kwargs in calling and receiving code. But all this is just about doing it. There is no major road blocker ahead, I can see. As far as merging efforts, I gave more look at pyjs and here are my results: - I took me a while to understand which command to use - I couldn't run it, it's missing the runtime library I couldn't figure out how to generate it I think what would be best for the community is to create a *brythoniumjs*which will be based on all three projects: - Pythonium translation scheme and offline compiler - Brython on the fly Praser/Javascript emitter - PYJS builtins and framework What must be done to have a complete solution is the following: - Update Bryhon parser/emitter to emit Pythonium code - Update PYJS framework to be compatible with Pythonium API (new special function) and implement missing libraries (or take them from PYSJ or Brython) - Add the missing builtins/stdlib that makes sens - Implement a sourcemap generator for both on-the-fly generated code (if possible) and compiled code. What do you think? I'm not interested in borrowing on my own all the missing pieces from the other compatible project for Pythonium, what I would like is really to merge the different efforts into one project. As far as I'm concerned I'm more interested in the Veloce mode of Pythonium (Python syntax with Javascript semantic) and I'm only further working on the compliant mode to show that the design is ok and that it's possible to have 100% or 99% support of Python. Regards, Amirouche [1] https://groups.google.com/d/msg/pythonium-users/wv264TWdsTI/co5lJjjkvzYJ -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyjs-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.