I don't understand all the details from your email, but as long as the
compiler is kept quite simple, so that other people can fix bugs and
understand how it works, I am +1 to anything that gets the job done.
Ondrej
It will be. In fact, in my local branch I have 3 compilers:
- Javascript
- Python
- Multiplexer
This ensures that the compiler will be kept simple, since everything is
compartmentalized.
I also extended the py2js module, so expect the following structure in
the future:
py2js
py2js.decorator
py2js.compiler
py2js.compiler.python
py2js.compiler.javascript
py2js.compiler.multiplexer
The main module, py2js, contains a new Compiler class that will make it
much easier to use the compiler in real-world scenarios. It also
contains a utility function, py2js.compile(), to do a quick once-off
compilation for tests, etc.
--
Med venlig hilsen / Best regards
Christian Iversen
Sikkerhed.org ApS
Fuglebakkevej 88 E-mail: sup...@sikkerhed.org
1. sal Web: www.sikkerhed.org
DK-2000 Frederiksberg Direkte: c...@sikkerhed.org
From what you say, it looks really cool!
Looking forward,
Ondrej
Hope you have found my formatter class in the latest pull request.
//Samuel Ytterbrink
Skickat från min iPhone
Indeed, just push your patches into a branch, you don't need to send a
pull request. So that we can see what you are working on and plan
accordingly.
>
> Hope you have found my formatter class in the latest pull request.
Ondrej