Getting started hacking omath

From Omath

Jump to: navigation, search

Read the page omath using Eclipse for help on checking out a copy of the omath code into Eclipse.

omath needs lots of work, and it won't happen without a bunch of people pitching in to get the core functionality going. You're welcome to look through the source code for the core (look at the interfaces Expression, Kernel and PatternMatcher first, then their implementations, omathKernel and omathPatternMatcher), and, after you understand what's going on, make modifications. Please don't even think about writing efficient code for now; let's just get omath running.

More likely, you'll want to write 'plugins' defining new omath rules. Have a look at the sources of Part, Range, Set, Plus, and so on, to see how this works. For now, there's no good plugin architecture; just create instances of any new classes by hand in omath.java and omathApplet.java, along with the others.

Coming soon, there'll be a sensible way to include definitions written purely in omath, at which point things will really start moving!

Personal tools