Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 69 lines (40 sloc) 1.078 kb
fccc685 Initial open-source release
MLstate authored
1 -*-outline-*-
2
3 * Name output module
4
5 let module_name = "myprotocol"
6 let bsl_prefix = "plugin"
7
8 ** Implemented.
9
10 * External types
11
12 extern typ : My.type = "[(key,handler);...]"
13
14 ** Implemented for all phases.
15
16 * Handle cons tuples
17
18 type Dog of int * string
19
20 ** Implemented but a *real* hack.
21
22 *** TODO: tidy this up.
23
24 * Backwards compatibility for versions
25
26 ???
27
28 * Error handling
29
30 Currently just segfaults on parser fail.
31
32 * Debugging
33
34 MLSTATE_IDL_DEBUG !!!
35
36 * Update hlnet wrappers
37
38 direct send receive after server init.
39
40 let init_server = ("0.0.0.0",12345,...)???
41 val send_cat : cat
42 val receive_dog : dog
43 val send_receive_profile : profile -> profile
44
45 ** Implemented as responders
46
47 val responder_type : type1 -> type2
48
49 Works with ML and BSL but not OPA.
50
51 * Put support code in external libraries
52
53 idlMLRuntime.ml
54 idlBSLRuntime.ml
55 idlOPARuntime.opa
56
57 * Optimisation
58
59 fold_record vs. dot.
60 profile native OPA vs BSL.
61 convert to text module in OPA.
62 make input functional.
63 convert ServerLib to runtime code.
64
65 * Tidy up and document
66
67 Remove redundant code (quite a lot).
68 User manual.
Something went wrong with that request. Please try again.