pont-us / PuffinPlot

A program to plot and analyse palaeomagnetic data
GNU General Public License v3.0
3 stars 0 forks source link

Make PuffinPlot scriptable #57

Open pont-us opened 3 years ago

pont-us commented 3 years ago

Hard work but the rewards would be tremendous. A command console in the running program to perform custom manipulations en masse. A headless batch mode allowing PP to be incorporated into a publication build script. Groovy is an obvious choice for language, but ruby seems well- regarded for constructing simple DSLs.

Probably too time-consuming ever to be implemented, but nice to have on the wishlist. (Actually, would be easy to do as Groovy hooks straight into the Puffin's guts; the hard bit would be designing a DSL simple enough for people to use without intimate knowledge of PP's internals.)

pont-us commented 3 years ago
Bugs Everywhere data:
Created at: 2009-04-20 04:59:33
Status: open
Severity: minor
UUID: 4a6fc439-d331-4720-9e76-1d9e37f0c2f9
Short name: a88/4a6
Ditz bug index: 55
pont-us commented 3 years ago

2009-07-25 22:41:33

Given Python's popularity with the scientific and particularly pmag crowd, jython might be the best choice -- it was stagnant for a long time but 2.5 has recently come out. See http://wiki.python.org/jython/UserGuide#embedding-jython org.python.util.PythonInterpreter org.python.util.ReadlineConsole (also JLineConsole and InteractiveInterpreter in same package) http://don.freeshell.org/jython/ and http://code.google.com/p/jythonconsole/

UUID: c3ab86c4-b0c0-453f-b87a-43f0f38be12f

pont-us commented 3 years ago

2012-01-12 03:48:38

This has now mostly been implemented as #176, with a bundled Jython interpreter. However, I can't close it yet, as PuffinPlot still lacks an interactive console ( http://don.freeshell.org/jython/ currently looks like a promising candidate, though).

UUID: ed30df74-ae00-4042-859b-81f507930c09