Comments (4)
I have a bit of a workload at the moment. So pardon me if I cant respond asap.
from parserng.
Thanks for heads up. No worries, I will not rush anything more.
from parserng.
hi!
I had started to look into ParserNG, because it seemed to be best fit for judovana/jenkins-report-generic-chart-column@52421b0 (and few following commits)
I think the best would be to contribute the
- https://github.com/judovana/jenkins-report-generic-chart-column/blob/master/src/main/java/hudson/plugins/report/genericchart/math/LogicalExpressionParser.java
- https://github.com/judovana/jenkins-report-generic-chart-column/blob/master/src/main/java/hudson/plugins/report/genericchart/math/ComparingExpressionParser.java
I would return it back to your project moreover as its, next to MathExpression as ArithmeticalLogicalExpression (so original code will not be alerted), where ArithmeticalLogicalExpression will enhance MathExpression with comparisons and bool algebra. My current implementation do not support brackets. TBH, I'm not super excited to add, but maybe you would be able to help. If I would be doing that, I guess I will be lazy, and will take different bracket then () :)
Before I invest time to do so, are you interested by this feature or do you rather incline to keep it in downstream project?
The tests are worthy to check i guess;
- https://github.com/judovana/jenkins-report-generic-chart-column/blob/master/src/test/java/hudson/plugins/report/genericchart/math/ComparingExpressionParserTest.java
- https://github.com/judovana/jenkins-report-generic-chart-column/blob/master/src/test/java/hudson/plugins/report/genericchart/math/LogicalExpressionParserTest.java
Sorry for the delay, yet again. Thanks for all you are doing, and your patience.
After giving it more thought, for code and functional consistency, I wont be able to merge the PR yet, till you are able to sort out the issue with supporting multiple brackets.
Do you see yourself being able to do this efficiently in the nearest future?
from parserng.
This issue has been resolved.
from parserng.
Related Issues (11)
- I find it slow in multithreaded environment HOT 4
- statistic functions can not accept single expression as input HOT 35
- Deploy on maven central? HOT 31
- ParserNG should use `BigDecimal` instead of `double` HOT 16
- ParserNG fails to parse a simple math expression HOT 14
- Add Exception to Function HOT 1
- Removal of external dependencies HOT 6
- Instructions in readme.md HOT 1
- not playing nicely with java module system? HOT 2
- Decimal part looks strange HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parserng.