Question

friends, I have a piece of code which can perform simple add, subtraction, multiplication, division, and formula with brackets.

Is there some kind of conversion tool for translating code from C to Smalltalk?

Or any other relatively easy way to achieve this?

Thanks in advance.

Was it helpful?

Solution

There is an implementation of SWIG for Smalltalk. (SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages).

OTHER TIPS

This should be trivial to write with PetitParser

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top