问题描述
嘿,我一直在寻找在我的框架中添加脚本语言的可能性,我听说过Lisp,并且想我会放弃它。是否有一个虚拟机的Lisp像Lua和Python或我的错误的心态。我在这里找到了CLISP,,但我不知道这是否是我要找的。
Hey, I've been looking at the possibility of adding a scripting language into my framework and I heard about Lisp and thought I would give it a go. Is there a VM for Lisp like Lua and Python or am I in the wrong mindset. I found CLISP here, http://clisp.cons.org/, but am not sure if this is what I am looking for.
任何人都可以指向正确的方向?
Can anyone point me in the right direction?
推荐答案
a href =http://clisp.cons.org/> CLISP 只是Common Lisp的一个实现。这是一个很好的实现,它确实有一些支持嵌入在其他(基于C)程序,但这不是它的焦点和它的GPLed,这可能或可能不是一个解决方案给你。
CLISP is just one implementation of Common Lisp. It's a very good implementation, and it does have some support for being embedded in other (C-based) programs, but that's not its focus and it's GPLed, which may or may not be a deal-breaker for you.
您可能有兴趣查看。这个实现是专门设计为嵌入式的(事实上,E代表Embeddable!),并且有许多对您有用的功能,包括将Common Lisp程序编译为C(以及提供字节代码编译和解释器)。
You might be interested in checking out ECL. This implementation is specifically designed to be embedded (indeed, the "E" stands for "Embeddable"!), and has numerous features that might be useful to you, including the ability to compile Common Lisp programs to C (as well as providing byte-code compilation and an interpreter).
这篇关于Lisp作为C ++应用程序中的脚本语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!