5

Following on from my previous question, I was wondering if anyone knew of any free (as in beer, as in freedom would be nice but not essential) math(s) parsing libraries for Java. I found one called Jep which used to be open-source (ie: written by the community), but now costs $300 upwards (is this even legal?).

Any help appreciated!

Community
  • 1
  • 1
Tom R
  • 5,991
  • 9
  • 35
  • 41
  • 2
    By "math parsing," do you mean "mathml parsing"? – Matt Ball Nov 24 '09 at 19:15
  • No. That's what my previous question referred to. I mean: (x+2)^2+(y+2)^2=9 – Tom R Nov 24 '09 at 19:17
  • Why wouldn't it be legal to charge for the use of one's software? – Jonathan Feinberg Nov 24 '09 at 19:51
  • 1
    @Jonathan Feinberg: seems a bit unethical if the community has made contributions and you're receiving exclusive payment for their work. P.S: I am also honoured to be in correspondence with the inventor of Wordle. I happen to know that The Times use it constantly. – Tom R Nov 25 '09 at 17:22

4 Answers4

3

You can try the math expression parser from my Symja project.

axelclk
  • 950
  • 9
  • 28
3

You may find my math expression evaluator useful; it's completely free and it's tiny.

Lawrence Dol
  • 63,018
  • 25
  • 139
  • 189
2

i released an expression evaluator based on Dijkstra's Shunting Yard algorithm, under the terms of the Apache License 2.0:

http://projects.congrace.de/exp4j/index.html

fasseg
  • 17,504
  • 8
  • 62
  • 73
1

I may just be daft but isn’t the old, GPL’ed Jep still available as open source?

Konrad Rudolph
  • 530,221
  • 131
  • 937
  • 1,214