[GitHub] nifi issue #1018: NIFI-1662 adding Expression Language decimal support

2016-10-24 Thread mattyb149
Github user mattyb149 commented on the issue: https://github.com/apache/nifi/pull/1018 +1 LGTM, great addition here, thanks! Merging to master --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] nifi issue #1018: NIFI-1662 adding Expression Language decimal support

2016-10-21 Thread trixpan
Github user trixpan commented on the issue: https://github.com/apache/nifi/pull/1018 > (who uses Hex literals for floating point?!), I do! Like... All the time! But I also joke sometimes... :smiley: --- If your project is set up for it, you can reply to

[GitHub] nifi issue #1018: NIFI-1662 adding Expression Language decimal support

2016-10-19 Thread JPercivall
Github user JPercivall commented on the issue: https://github.com/apache/nifi/pull/1018 @mattyb149 just pushed out a new commit along with yours. I added proper support for literal decimals in the UI as well. --- If your project is set up for it, you can reply to this email and have

[GitHub] nifi issue #1018: NIFI-1662 adding Expression Language decimal support

2016-10-19 Thread JPercivall
Github user JPercivall commented on the issue: https://github.com/apache/nifi/pull/1018 @mattyb149 this is awesome! I was having bit of trouble trying with the grammar due to not knowing much about ANTLR. I'm gonna add your commit to my branch, test it a bit and then add it to the

[GitHub] nifi issue #1018: NIFI-1662 adding Expression Language decimal support

2016-10-18 Thread mattyb149
Github user mattyb149 commented on the issue: https://github.com/apache/nifi/pull/1018 I'm a big ANTLR fan :) so I tried adding decimal literals to the grammar, feel free to take a look and use whatever you like:

[GitHub] nifi issue #1018: NIFI-1662 adding Expression Language decimal support

2016-10-14 Thread JPercivall
Github user JPercivall commented on the issue: https://github.com/apache/nifi/pull/1018 @mattyb149, I agree with adding it to the lexer as a subset. I thought through it a bit more and is someone passes "toLiteral('1.1')" they should expect they would get a string with the value

[GitHub] nifi issue #1018: NIFI-1662 adding Expression Language decimal support

2016-10-14 Thread mattyb149
Github user mattyb149 commented on the issue: https://github.com/apache/nifi/pull/1018 I like the idea of a subset, we can probably cover 90% of the cases people have for floating-point literals (who uses Hex literals for floating point?!), but it might warrant a discussion with the