Index
OzServer
Socket
CustomCompiler

Functor

Import

Export

Define

fun{MakeFullCompiler }
Returns a new compiler with the full environment (comparable to the OPI) and fed the ozrc file according conventions (cf. oz/doc/opi/node4.html).


proc{FeedAllInput MyCompiler MySocket Args}
FeedAllInput reads code sends from MySocket and feeds them to MyCompiler. Socket input uses the format ["%!"\n]<CODE>, as explained in top-level doc. Expression results are writting back into the socket (in the order their corresponding expressions were fed).
Args is record with features size and resultFormat.


End