Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-26 Thread Dima Pasechnik
On Mon, May 25, 2020 at 11:39 PM rjf wrote: > > It looks like you have written a recursive descent parser. And a display. > If you were running Maxima on a Pi, (see sourceforge for download) > you would have a parser and a display without writing it yourself. > > Just looking at the code

Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-25 Thread rjf
You haven't provided enough information about your environment, but it is generally feasible to acquire data in Maxima from a file or a socket or a stream. Or compute numerical stuff, generate random numbers, read from a keyboard, web page...etc. Given that you are familiar with a particular

Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-24 Thread Jonathan
Although a good idea, I don't think I can make it simple enough to set up inside a data acquisition environment that depends on Python. This would require installing Maxima and all the connector software. The people using this are unlikely to do anything that requires more than a `pip

Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-24 Thread rjf
It seems to me that the obvious thing is not to extract parts from SageMath, but just use Maxima, which is a part, but also an entire symbolic math system, Your example looks like this: ( assignment is ":" equations use "=". a command is terminated by ";" ) eq1 : p*V = n*r*t ; eq1/V;

Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-22 Thread Samuel Lelievre
Le samedi 23 mai 2020 02:14:58 UTC+2, Dima: > > Conda does have Sagemath available. > Not 100% sure how it works on Windows, though. One can install SageMath from Conda on Linux and macOS. Not on Windows. -- You received this message because you are subscribed to the Google Groups "sage-devel"

Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-22 Thread dimpase
On Fri, May 22, 2020 at 04:07:47PM -0700, Jonathan wrote: > Emmanuel, > > Thanks, that is one of the places I was starting. It turns out that doesn't > quite pick up the necessary stuff from the `Expr` type. I have had better > luck extending the base type `Expr`. It was not hard to get the