The JavaScript generated, is very far from idiomatic...
I wouldn't envy the poor guy who would have to debug this...
The description doesn't even talk about the many problems of JavaScript,
and says nothing about the shortcomings of foreign language traspilation.
In short, a very amature looking
Looks like PyJaCo works much better, even supporting classes.
http://pyjaco.org/demo
--
>From what I recently learned, when the question is "is client-side less
secure?", then the short answer is "not necessarily", and the longer
answer is these 2 talks:
https://www.youtube.com/watch?v=w9hHHvhZ_HY
https://www.youtube.com/watch?v=oBqeDYETXME
:)
On Wed, Dec 26, 2012 at 9:19 AM, Jef
I have a question about security (it may be unfounded),
Isn't server-side interpretation more secure? Especially when business
logic that doesn't pass as "controller" code is embedded into the view code.
Brython would exposed such code to a front-end user. What are your
thoughts?
On Saturday
On Sun, Dec 16, 2012 at 6:39 AM, Massimo Di Pierro
wrote:
> I was thinking the same. The issue, do we want the conversion done
> client-side (like brython) or server side (like ocl,
> https://github.com/mdipierro/ocl#convert-python-code-into-javascript-code)
>
> I'd prefer brython if it is fast.
>
Very good, Francois! :-)
On Fri, Dec 21, 2012 at 7:20 PM, Francois Dion wrote:
> If you have had issues with these, you should report the bugs, because It
> does support string interpolation, modules and scope. List comprehension and
> the ternary operator have been added earlier this week. Clas
How do you debug this?
Is here a source-map generation mechanism to allow debugging python code in
the browser's debugger?
Can the transpiler run server-side?
On Fri, Dec 21, 2012 at 1:20 PM, Francois Dion wrote:
> If you have had issues with these, you should report the bugs, because It
> does
Thanks for letting us know. Are you one of the brython developers?
On Friday, 21 December 2012 15:20:28 UTC-6, Francois Dion wrote:
>
> If you have had issues with these, you should report the bugs, because It
> does support string interpolation, modules and scope. List comprehension
> and the t
If you have had issues with these, you should report the bugs, because It
does support string interpolation, modules and scope. List comprehension
and the ternary operator have been added earlier this week. Classes is the
main thing left. I started using brython in a limited deployment. I think
I agree.
On Thu, Dec 20, 2012 at 1:18 PM, Massimo Di Pierro
wrote:
> Looks like this is too limited to be useful.
>
>
> On Monday, 17 December 2012 01:08:41 UTC-6, viniciusban wrote:
>>
>> Brypthon doesn't support string interpolation, too. :-(
>>
>> On Sun, Dec 16, 2012 at 6:40 PM, Arnon Marcus
Looks like this is too limited to be useful.
On Monday, 17 December 2012 01:08:41 UTC-6, viniciusban wrote:
>
> Brypthon doesn't support string interpolation, too. :-(
>
> On Sun, Dec 16, 2012 at 6:40 PM, Arnon Marcus
> >
> wrote:
> > From what I saw, it does not support many fundamental featu
Brypthon doesn't support string interpolation, too. :-(
On Sun, Dec 16, 2012 at 6:40 PM, Arnon Marcus wrote:
> From what I saw, it does not support many fundamental features of python,
> like class-inheritance (class, classMethod) modules (__import__, from, as),
> scope (globals, nonlocal) and pa
>From what I saw, it does not support many fundamental features of python,
like class-inheritance (class, classMethod) modules (__import__, from, as),
scope (globals, nonlocal) and parsing (exec, eval). I think these are
trivial for python developement, and should have some kind of
design-patter
Taking a second look at brython. I think we should include it.
On Saturday, 15 December 2012 13:01:16 UTC-6, Mariano Reingart wrote:
>
> Brython seems great, it even uses a html helper syntax like web2py!
>
>
> t = TABLE()
> for i in range(10):
> t <= TR(TD(i)+TD(i*i))
> doc <= t
>
>
I was thinking the same. The issue, do we want the conversion done
client-side (like brython) or server side (like ocl,
https://github.com/mdipierro/ocl#convert-python-code-into-javascript-code)
I'd prefer brython if it is fast.
Massimo
On Saturday, 15 December 2012 13:01:16 UTC-6, Mariano Rei
http://www.brython.info/index_en.html
--
16 matches
Mail list logo