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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -