Constructing a simple interpreter

后端 未结 9 2303
别跟我提以往
别跟我提以往 2020-12-15 11:41

I’m starting a project where I need to implement a light-weight interpreter. The interpreter is used to execute simple scientific algorithms. The programming language that t

9条回答
  •  没有蜡笔的小新
    2020-12-15 12:13

    The Silk library has just been published to GitHub. It seems to do most of what you are asking. It is very easy to use. Just register the functions you want to make available to the script, compile the script to bytecode and execute it.

提交回复
热议问题