[
https://issues.apache.org/jira/browse/JEXL-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-404:
--
Description:
Code example:
{code:java}
var a = {:};
a.b; // ok
a['b']; // ok
a?.b; // ok
a?['b']; //
Xu Pengcheng created JEXL-404:
-
Summary: error parsing a?['b']
Key: JEXL-404
URL: https://issues.apache.org/jira/browse/JEXL-404
Project: Commons JEXL
Issue Type: Bug
Affects Versions: 3.3
[
https://issues.apache.org/jira/browse/JEXL-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17760176#comment-17760176
]
Xu Pengcheng commented on JEXL-403:
---
great, thanks!
> Exception while evaluating template literal used
Xu Pengcheng created JEXL-412:
-
Summary: Ambiguous syntax between namespace function call and map
object definition.
Key: JEXL-412
URL: https://issues.apache.org/jira/browse/JEXL-412
Project: Commons
[
https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767468#comment-17767468
]
Xu Pengcheng commented on JEXL-406:
---
We use Interpreter to wrap object to provider more methods, for
[
https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767480#comment-17767480
]
Xu Pengcheng commented on JEXL-406:
---
And also we added unit test support for our jexl codes, and use
[
https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767770#comment-17767770
]
Xu Pengcheng commented on JEXL-406:
---
Thanks
I copied the test to my local project, but failed to run
[
https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-406:
--
Attachment: image-2023-09-22-08-57-22-860.png
> allow override Engine.createTemplateInterpreter ?
>
Xu Pengcheng created JEXL-406:
-
Summary: allow override Engine.createTemplateInterpreter ?
Key: JEXL-406
URL: https://issues.apache.org/jira/browse/JEXL-406
Project: Commons JEXL
Issue Type:
[
https://issues.apache.org/jira/browse/JEXL-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17768062#comment-17768062
]
Xu Pengcheng commented on JEXL-406:
---
totally understand and thanks!
> allow override
[
https://issues.apache.org/jira/browse/JEXL-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17758067#comment-17758067
]
Xu Pengcheng commented on JEXL-402:
---
Thank you!
> parse failed with empty return value.
>
Xu Pengcheng created JEXL-403:
-
Summary: Failed while evaluating template in loop.
Key: JEXL-403
URL: https://issues.apache.org/jira/browse/JEXL-403
Project: Commons JEXL
Issue Type: Bug
[
https://issues.apache.org/jira/browse/JEXL-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17759998#comment-17759998
]
Xu Pengcheng commented on JEXL-403:
---
I tried at my side and found the problem is caused by setting cache
Xu Pengcheng created JEXL-402:
-
Summary: parse failed with empty return value.
Key: JEXL-402
URL: https://issues.apache.org/jira/browse/JEXL-402
Project: Commons JEXL
Issue Type: Bug
Affects
Xu Pengcheng created JEXL-377:
-
Summary: Add support for javascript style function definition
Key: JEXL-377
URL: https://issues.apache.org/jira/browse/JEXL-377
Project: Commons JEXL
Issue Type:
Xu Pengcheng created JEXL-383:
-
Summary: Inconsistent behavior after overriding toBoolean method
in JexlArithmetic
Key: JEXL-383
URL: https://issues.apache.org/jira/browse/JEXL-383
Project: Commons JEXL
[
https://issues.apache.org/jira/browse/JEXL-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-383:
--
Description:
I tried to overriding "toBoolean" method of JexlArithmetic for 'strict' mode.
{code:java}
[
https://issues.apache.org/jira/browse/JEXL-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17629497#comment-17629497
]
Xu Pengcheng commented on JEXL-383:
---
Thanks!
Looks like isStrict(JexlOperator operator) api of
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-399:
--
Description:
Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a
lightweight,
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-399:
--
Description:
Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a
lightweight,
Xu Pengcheng created JEXL-399:
-
Summary: Needs support more javascript syntax
Key: JEXL-399
URL: https://issues.apache.org/jira/browse/JEXL-399
Project: Commons JEXL
Issue Type: New Feature
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-399:
--
Description:
Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a
lightweight,
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-399:
--
Description:
Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a
lightweight,
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-399:
--
Description:
Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a
lightweight,
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-399:
--
Description:
Hi, I am trying ask chatgpt to generate code for some cases, JEXL, as a
lightweight,
Xu Pengcheng created JEXL-400:
-
Summary: modify primitive value in lambda/function does not affect
original value
Key: JEXL-400
URL: https://issues.apache.org/jira/browse/JEXL-400
Project: Commons JEXL
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17741235#comment-17741235
]
Xu Pengcheng edited comment on JEXL-399 at 7/8/23 3:39 AM:
---
Thanks for your
[
https://issues.apache.org/jira/browse/JEXL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17741235#comment-17741235
]
Xu Pengcheng commented on JEXL-399:
---
Thanks for your explaination.
> Needs support more javascript
Xu Pengcheng created JEXL-398:
-
Summary: Allow 'trailing commas' while define a map
Key: JEXL-398
URL: https://issues.apache.org/jira/browse/JEXL-398
Project: Commons JEXL
Issue Type: New
[
https://issues.apache.org/jira/browse/JEXL-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17815516#comment-17815516
]
Xu Pengcheng commented on JEXL-420:
---
I agree that not weaken the type system, but in Java, usually the
Xu Pengcheng created JEXL-418:
-
Summary: Add try-catch support
Key: JEXL-418
URL: https://issues.apache.org/jira/browse/JEXL-418
Project: Commons JEXL
Issue Type: New Feature
[
https://issues.apache.org/jira/browse/JEXL-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-420:
--
Description:
code:
{code:java}
1.2 == ''{code}
returns false
code:
{code:java}
1.2 == 'a'{code}
[
https://issues.apache.org/jira/browse/JEXL-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Pengcheng updated JEXL-420:
--
Description:
code:
{code:java}
1.2 == ''{code}
returns false
code:
{code:java}
1.2 == 'a'{code}
Xu Pengcheng created JEXL-420:
-
Summary: Error while comparing float and string value
Key: JEXL-420
URL: https://issues.apache.org/jira/browse/JEXL-420
Project: Commons JEXL
Issue Type: Bug
Xu Pengcheng created JEXL-415:
-
Summary: incorrect template eval result
Key: JEXL-415
URL: https://issues.apache.org/jira/browse/JEXL-415
Project: Commons JEXL
Issue Type: Bug
35 matches
Mail list logo