This is my first review!!
When following the tutorial and came to Kaleidoscope chapter4 the code was crashing when running the following code:
def testfunc(x y) x + y*2;
testfunc(4, 10);
I then patched the code:
- Make sure ForceInterpreterLinking is defined, to avoid an error "interpreter has not been linked".
- When Finding the symbol we only looked for external functions in Kaleidoscope.
After that the code does on no longer crash.
There is still an issue when entering empty strings, but I a fix for this might come later.