← Back to team overview

aesthete-team team mailing list archive

Downpatrick & Plot

 

Downpatrick is up, with a couple of 'enhancements' from Armagh. It also
contains 'trig_function', which has an optional inline exponent; -1 for
inverse, anything else is a power. This has some fiddly make_simplications
nonsense, so that any power exponent gets dragged inside. I can imagine
cases where this isn't ideal. The XML files are almost identical, with the
addition of a sympy inverse and type='trig_function'.

Also, to tie this in and for additional efficiency, the open function
action (ctrl+parenleft) now checks to see whether the Word it's due to make
into a function is a named phrasegroup that it could insert instead. Hence,
'c o s Ctrl+(' will bring up the cos phrasegroup, that is, the special
function mentioned above, which is more intuitive than dealing with both a
cos special_function and a cos bold green matched function.

Ylm does the same and so does integrate and pi. I can imagine situations
that this isn't ideal but, generally, the advantages seem to outweigh the
disadvantages and a little care naming phrasegroups should avoid
catastrophe.

Finally, I've experimented with circumventing pyglet. Plot now Sources and
triggers a new glypher window. _Very_ basic surface plots enabled and line.
Assumes the type from the number of free symbols.

P