-
Notifications
You must be signed in to change notification settings - Fork 10.3k
XFA - Add a lexer/parser for FormCalc language #12936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
calixteman
commented
Jan 31, 2021
- the language specifications are: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=1049
- it can be used to:
- as a scripting language for calculation, validations, ...
- in SOM expressions to select nodes: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=101
For the scripting stuff, an idea is to generate some javascript from the generated AST and then execute it in the js sandbox. |
Will it be possible to disable scripting? |
It's a preference now and it's disabled by default. There are no plans to remove this preference because scripting is a feature that we can imagine that people want to disable. This question is unrelated to this PR though, so let's leave it at this. |
- the language specifications are: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=1049 - it can be used to: * as a scripting language for calculation, validations, ... * in SOM expressions to select nodes: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.364.2157&rep=rep1&type=pdf#page=101
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://3.101.106.178:8877/5b6379c693a60ad/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://54.67.70.0:8877/1e9165aee5b0f01/output.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+ with tests passing
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/1e9165aee5b0f01/output.txt Total script time: 23.82 mins
Image differences available at: http://54.67.70.0:8877/1e9165aee5b0f01/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/5b6379c693a60ad/output.txt Total script time: 29.34 mins
Image differences available at: http://3.101.106.178:8877/5b6379c693a60ad/reftest-analyzer.html#web=eq.log |