Question: running maple with the -P parameter

Hello, I would like to use Maple for testing the syntax. In documentation is mentioned the -P parameter, which switch the maple into syntax checking mode, where none expressions are evaluated. I can imagine, that I will run maple with -P parameter to process a worksheet and after proceeding, I will search the errors in output. But I would like to have one Maple instance still running and to send/receive data continously. That means to sent through the one pipe to maple some expression and through other pipe receive answer from maple. Is it possible? Can you write here some solution using python or perl? Or is there any other way how to check the syntax? Thank you very much and sorry for my english.. Karel
Please Wait...