Hi! I wrote a couple of scripts in racket to try out an idea. One is for closure conversion which you can read here [https://gist.github.com/rain-1/36c4851b7c29cf8e42f23ba6eec37be6] and the second is a small lisp interpreter that builds upon that to implement serializable closures: (https://gist.github.com/rain-1/dc738599829ed40b55f170b574628bd0) The final 2 test cases demonstrate writing out and reading back a partially applied function. * There has been discussion about serializing closures recently: (http://arclanguage.org/item?id=20986) |