File tree 2 files changed +50
-0
lines changed
2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ All classes NEED to be wrapped - the whole hierarchy immediately. Wrap all methods too. The regular objects shouldn't be necessary to wrap.
3
+
4
+
5
+
6
+ Origin mimics JavaGround
7
+
8
+ How to refer to full class names?
9
+ Foo
10
+ java:util:HashMap
11
+ xml:com:sun:blarg:Foo$Bar$Quux ;; inner classes
12
+ xml:com:sun:blarg:Foo Bar Quux ;; inner classes
13
+
14
+ Importing:
15
+ JavaGround#import
16
+
17
+ import(java:util:HashMap)
18
+
19
+ assignment works too:
20
+
21
+ HMap = java:util:HashMap
22
+
23
+ The class referred is the real class.
24
+
25
+ Create new instances with new
26
+
27
+ HMap new
28
+
29
+ To figure out:
30
+ - how to call overloaded methods
31
+ - args by name functionality?
32
+ - how to send code to Java methods?
33
+ maybe something like this:
34
+ Thread new(Runnable: callSomeExpensiveThing)
35
+ Thread new(run: callSomeExpensiveThing)
36
+ Collections sort(list, fn(x, y, x <=> y))
37
+ Collections sort(list, compareTo: (x, y, x <=> y))
38
+
39
+ - how to see difference between fields and methods
40
+ - how to implement interfaces
41
+ - how to extend from Java classes in some way
42
+
43
+
44
+ - add loads of good helpers to Java types
Original file line number Diff line number Diff line change
1
+
2
+ - look up mn-trees for lookup stuff
3
+ - first step: go to using a trie
4
+ - linking tries together?
5
+ - splay tree, possibly (since it allows the same key several times)
6
+
You can’t perform that action at this time.
0 commit comments