svenssonjoel / lispBM

An interpreter for a concurrent lisp-like language with message-passing and pattern-matching implemented in C.
http://www.lispbm.com
GNU General Public License v3.0
90 stars 7 forks source link

xmas_dac melody lists #2

Closed svenssonjoel closed 2 years ago

svenssonjoel commented 2 years ago

For some currently unknown reason the melody list in the xmas_dac demo cannot be longer than 37 elements. If they are longer the result is evaluation error.

The list is created using backtick.

svenssonjoel commented 2 years ago

This problem is related to stack size of the thread that is doing reading. Increasing the stack size makes the problem go away. Should look into making the reader more stack efficient.