Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
朋友们,我有一段代码可以用括号执行简单的加减乘除和公式。
是否有某种转换工具可以将代码从 C 转换为 Smalltalk?
或者任何其他相对简单的方法来实现这一点?
提前致谢。
用PetitParser编写应该很简单
Smalltalk有一个SWIG的实现。(SWIG是一种软件开发工具,它将用 C 和 C++ 编写的程序与各种高级编程语言连接起来)。