-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO
110 lines (83 loc) · 2.3 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
=====
Todos
=====
After the europython merge we have still some things to change.
- test on windows (who is willing?)
- fix debug stuff in translated code
- fix all example build scripts
- test all examples
- move all python library modules implemented for js into pyjs/lib
- move all builtin modules implemented for js into pyjs/builtin
- fix v8 runner (implement linker)
- evtl. fix spidermonkey runner, but there is a linker that already
uses the js commandline interface from spidermonkey
[lkcl: yeah, but the commandline interface can't interact with
python modules. i strongly recommend dropping cmd-line and using
python-spidermonkey.]
- implement Backquote in translator
- implement classes inside classes in translator
From http://code.google.com/p/pyjamas/issues, for 0.6 release:
97 Enhancement ui.Tree Widgets have too much whitespace around their contents
200 Enhancement Datetime example
209 Defect Broke tests, --boilerplate-path needed
49 Defect __pygwt_onBadProperty is not defined
Python Builtins TODO
---------------
translator support for:
* GenExpr and GenExprInner
- if any(isinstance(child, Node) for child in node.getChildren()):
- write(', '.join(repr(child) for child in node.getChildren()))
* Conditional in classes:
class foo:
if True:
def fn(self):
pass
#234 from Beni Cherniavsky:
Python builtins missing under pyjs:
Easy to implement:
apply (somewhat deprecated)
basestring (String should do the job?)
bin (new in 2.6)
bytes (alias to str in 2.6)
globals
next
print (under from __future__ import print_function)
reduce
reversed
sorted
zip
Require work to implement:
buffer (deprecated, irrelevant)
bytearray (new in 2.6)
coerce (somewhat deprecated)
complex
format
frozenset
id
intern
iter
locals
long
property
set
unichr
unicode
vars
xrange
zip
Easy but not needed without interactive prompt:
copyright
credits
exit
help
license
quit
Very hard / impossible within PyJS:
compile [lkcl: can be done with skulpt]
eval (very hard) [lkcl: can be done with skulpt]
execfile (very hard)
file
input
open
raw_input
reload