Name: Anonymous 2012-11-23 5:23
How would I go about writing an interpreter for a programming language which has limited/indirect access to another language's standard library, and no direct File IO.
That is, if I want to use File IO, the new language wouldn't get direct access to files, it would have to go through a buffer in the interpreter that prevents read/write of files not in the sandbox.
I need to be able to interpret it from inside either Java or .NET (I can do native access if I have to, but I'd prefer to avoid it).
That is, if I want to use File IO, the new language wouldn't get direct access to files, it would have to go through a buffer in the interpreter that prevents read/write of files not in the sandbox.
I need to be able to interpret it from inside either Java or .NET (I can do native access if I have to, but I'd prefer to avoid it).