"Running non recursive evaluator"
|
06-14-2014, 06:43 PM
Post: #2
|
|||
|
|||
RE: "Running non recursive evaluator"
I don't know any portable way to check for stack overflow in C. That's the reason for the max recursive eval parameter. Initially, you got a runtime error if the max number of recursive calls was reached, later I implemented a non-recursive evaluator (with dynamic allocation of the space required to make recursive calls), you don't get an error anymore, but it's slower, therefore the warning remains.
By the way, you should not consider the CAS programming language like a traditional programming language designed by CS people for large projects. Like for many other CAS, it's just a scripting language to make easily small programming extensions (say up to about 1000 lines of code on a PC). Large CAS development should be done in C++ on a PC/Mac with libgiac. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
"Running non recursive evaluator" - Peter Van Roy - 06-14-2014, 06:03 PM
RE: "Running non recursive evaluator" - parisse - 06-14-2014 06:43 PM
RE: "Running non recursive evaluator" - Alberto Candel - 11-07-2016, 03:11 AM
RE: "Running non recursive evaluator" - cclinus - 11-07-2016, 01:42 PM
|
User(s) browsing this thread: 2 Guest(s)