Skip to content
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

We should use EL to evaluate variables within SCXML models #251

Closed
bryantrobbins opened this issue Oct 9, 2015 · 3 comments
Closed

We should use EL to evaluate variables within SCXML models #251

bryantrobbins opened this issue Oct 9, 2015 · 3 comments
Assignees

Comments

@bryantrobbins
Copy link
Collaborator

https://docs.oracle.com/javaee/7/api/javax/el/package-summary.html

EL is a Java standard for expressions. We already use EL to evaluate conditions within the SCXML Engine. Can we expand this support so that some of these features are enabled via EL instead of custom syntax?

  • Variable values (can variable values be assigned via expressions?)
  • Macros (can macros become functions which the user can call in an expression?)
  • Complex data types

EL would come with its own parsing and syntax as well.

@bryantrobbins
Copy link
Collaborator Author

Some additional thoughts:

  • This would be a significant (breaking) change for existing code. Is there any chance for backward compatibility?
  • What is the performance overhead of using EL?
  • There is still value in having Java as the native/basic language for extension.
  • Can we opt-in to pre-processing?

@mibrahim
Copy link
Member

@mpeter28 thinking about how to express constraints. Add that to the additional thoughts at the top. We will decide later on the final direction.

@mibrahim
Copy link
Member

Being replaced with 3.0 direction to use spark. @bryantrobbins ok with that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants