The Built-in types

1 view
Skip to first unread message

Samuel Ytterbrink

unread,
Mar 9, 2011, 9:40:43 AM3/9/11
to py...@googlegroups.com
Hi!

i can't remember how we where supposed to implement the standard types. We where supposed to box the JavaScript ones? Where should our built ins be defined and how? Pure javascript impl or compield with the JavaScript backend or what?

--
//Samuel Ytterbrink

Samuel Ytterbrink

unread,
Mar 9, 2011, 9:44:34 AM3/9/11
to py...@googlegroups.com
Hi!

i can't remember how we where supposed to implement the standard types. We where supposed to box the JavaScript ones? Where should our built ins be defined and how? Pure JavaScript implementation or compiled with the JavaScript back-end?

I think we haven't solved this.

I hope we find a way we can put all in Python code.

--
//Samuel Ytterbrink

Ondrej Certik

unread,
Mar 9, 2011, 11:42:22 AM3/9/11
to py...@googlegroups.com
Hi Sam,

If all the types can be generated by the lower level (javascript)
backend of py2js, then we can just use Python for everything. So far
it is not possible, so I think the best option is to stick to
JavaScript for now.

Ondrej

Reply all
Reply to author
Forward
0 new messages