Running Maple MPL Scripts

512 Views Asked by At

I have a client who creates scripts in Maple, and wishes to continue to do so. I need to be able to run these scripts on a web server. I am asking here before going direct to maple soft. Is is possible to run .mpl scripts without purchasing maple itself? If not is it possible to install maple (single user version) on a Ubuntu server without a GUI?

2

There are 2 best solutions below

2
On

You may want to use the Maple Player, which is freely available.

2
On

Yes, every installation of Maple comes with a CommandLine Interface (a.k.a. CLI or TTY).

On Linux it runs from any tty terminal, and can be lauched via script.

On Linux it is located as the executable $(MAPLE)/bin/maple where MAPLE say is the installation location.

The CLI has several commandline options. But in order to run a plaintext file of Maple language code you can simply pass the filename when calling the executable. Eg,

maple myfile.mpl

maple myfile.mpl > out.txt

and so on. Completely usual Linux/Unix commandline stuff.