[jira] [Commented] (MATH-809) Expressions and functions interpreter
[ https://issues.apache.org/jira/browse/MATH-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13436352#comment-13436352 ] Gilles commented on MATH-809: - The dev ML [thread|http://markmail.org/message/w5pvo7sp6y67wsbf] did not reach a conclusion. Please revive it if you still think that the feature fits within Commons Math. Expressions and functions interpreter - Key: MATH-809 URL: https://issues.apache.org/jira/browse/MATH-809 Project: Commons Math Issue Type: New Feature Affects Versions: 3.1 Reporter: Guillaume Chauvet Priority: Trivial Attachments: interpreter.patch Expressions and functions interpreter forked from exp4j library (http://projects.congrace.de/exp4j, an Apache 2 project). This implementation use Dijkstra's Shunting Yard Algorithm. The patch also allows parsing of E notation numbers in expressions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-809) Expressions and functions interpreter
[ https://issues.apache.org/jira/browse/MATH-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13408009#comment-13408009 ] Guillaume Chauvet commented on MATH-809: Thank you for your explanations, Gilles. I think it's possible to provide an alternative implementation without frontend by implementing the interpreter design pattern (to keeping goal of commons-math). I will send a mail to dev list to discuss about this potential new feature. Expressions and functions interpreter - Key: MATH-809 URL: https://issues.apache.org/jira/browse/MATH-809 Project: Commons Math Issue Type: New Feature Affects Versions: 3.1 Reporter: Guillaume Chauvet Priority: Trivial Attachments: interpreter.patch Expressions and functions interpreter forked from exp4j library (http://projects.congrace.de/exp4j, an Apache 2 project). This implementation use Dijkstra's Shunting Yard Algorithm. The patch also allows parsing of E notation numbers in expressions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-809) Expressions and functions interpreter
[ https://issues.apache.org/jira/browse/MATH-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13404594#comment-13404594 ] Gilles commented on MATH-809: - Thanks for your interest in Commons Math. A new feature such as this one should first be discussed in the dev ML: http://commons.apache.org/math/mail-lists.html However something similar (IIRC) came up some time ago, and the conclusion was that it didn't belong in the Commons Math project. The reason was that the focus here is on numerical methods, not on input/output (in your case: parsing a string that happens to represent a mathematical function). Your interpreter library could of course _depend_ on the Commons Math library. But I cannot see how it would be more useful by being _within_ Commons Math itself. If you are not satified with this explanation, please post a message to the ML (using a prefix of [Math] in the subject line, as the list is shared with other Commons projects). Expressions and functions interpreter - Key: MATH-809 URL: https://issues.apache.org/jira/browse/MATH-809 Project: Commons Math Issue Type: New Feature Affects Versions: 3.1 Reporter: Guillaume Chauvet Priority: Trivial Attachments: interpreter.patch Expressions and functions interpreter forked from exp4j library (http://projects.congrace.de/exp4j, an Apache 2 project). This implementation use Dijkstra's Shunting Yard Algorithm. The patch also allows parsing of E notation numbers in expressions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira