-
Notifications
You must be signed in to change notification settings - Fork 125
/
mlidl.todo
68 lines (40 loc) · 1.05 KB
/
mlidl.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
-*-outline-*-
* Name output module
let module_name = "myprotocol"
let bsl_prefix = "plugin"
** Implemented.
* External types
extern typ : My.type = "[(key,handler);...]"
** Implemented for all phases.
* Handle cons tuples
type Dog of int * string
** Implemented but a *real* hack.
*** TODO: tidy this up.
* Backwards compatibility for versions
???
* Error handling
Currently just segfaults on parser fail.
* Debugging
MLSTATE_IDL_DEBUG !!!
* Update hlnet wrappers
direct send receive after server init.
let init_server = ("0.0.0.0",12345,...)???
val send_cat : cat
val receive_dog : dog
val send_receive_profile : profile -> profile
** Implemented as responders
val responder_type : type1 -> type2
Works with ML and BSL but not OPA.
* Put support code in external libraries
idlMLRuntime.ml
idlBSLRuntime.ml
idlOPARuntime.opa
* Optimisation
fold_record vs. dot.
profile native OPA vs BSL.
convert to text module in OPA.
make input functional.
convert ServerLib to runtime code.
* Tidy up and document
Remove redundant code (quite a lot).
User manual.