Scripting language for .net which supports yield and saving the state of the vm -
is there embeddable scripting language .net supports kind of yield (program stops , yields control host... next run continues left off)?
furthermore should possible save state of vm, , let continue @ later point.
edit1: i've looked @ lua, , while 1 can access globals c#, whole method feels hacky.
edit2: i'm looking @ ironruby , seems 1 can query , set global variables, not of them in 1 go.
write in vb or c#, well-defined tree of classes hold state. tree consist of root class, data in lists etc., serialisable.
at appropriate point, xml-serialise out stream file.
on re-start, de-serialise saved file , start left off.
Comments
Post a Comment