commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <>
Subject [jira] Commented: (MATH-192) Operator precedence driven parser
Date Mon, 03 Mar 2008 19:18:50 GMT


Luc Maisonobe commented on MATH-192:

Before this package can be accepted, you should provide some paperwork for IP clearance. This
mainly involves signing somes forms and send them to Apache. Look at the guideline here:
At the end of the page, the two sections "Contributor License Agreements" and "Software Grants"
are the ones we need. The first one is for code you may contribute during your involvment
with Apache. The second one is for the existing piece of code you provide now, which already
exists. Since you said part of the code was produced by someone else, we need to have is written
agreement too.

For the parts of the code that come from the Eclipse JDT, I am not sure. At least, it would
be nice to know precisely which parts come from this lineage and if it is better to keep them
as is (if licence permits) or if it should be rewritten.

> Operator precedence driven parser 
> ----------------------------------
>                 Key: MATH-192
>                 URL:
>             Project: Commons Math
>          Issue Type: New Feature
>         Environment: Tested with commons-math-1.2-RC1-src
>            Reporter: Axel Kramer
>            Priority: Minor
>             Fix For: 2.0
>         Attachments:
> Attached are sources for an operator precedence driven parser as described here:
> At the moment the used syntax for the math expressions is very similar to the Mathematica
input syntax
> and must probably be reworked for the common maths needs.
> Mainly the parser is driven by the arrays HEADER_STRINGS, OPERATOR_STRINGS and OPERATORS
in the:
>   org.matheclipse.parser.operator.ASTNodeFactory
> class.
> There's a utility class
>   org.matheclipse.parser.util.GenerateOperatorArrays
> which generates the above arrays for operator sets defined in a textfile like for example
>   /org.matheclipse.parser/eval/src/operators.txt
> JUnit test classes for testing the pure parser without any evaluations:
> /org.matheclipse.parser.test/src/org/matheclipse/parser/test/
> JUnit test classes for testing the evaluation in double or Complex calculation mode:
> /org.matheclipse.parser.test/src/org/matheclipse/parser/test/eval/

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message