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

JsExpression explanation should be made more language agnostic #490

Open
Remi-Gau opened this issue May 29, 2024 · 1 comment
Open

JsExpression explanation should be made more language agnostic #490

Remi-Gau opened this issue May 29, 2024 · 1 comment

Comments

@Remi-Gau
Copy link
Collaborator

Minor issue

This currently reads as:

https://www.repronim.org/reproschema/schema/#computespecification

A JavaScript expression to compute a score from other variables.

This sort of presumes that only Javascript will be used for computation but I am now doing form validation with a python backend.

So I may end up putting python expression in something that says it should be Javascript. Probably would be a good thing if the schema had a way to capture what programming language is used for the expressions.

Same goes for the isVis where I am now expressing conditionals in python code and not JavaScript.

@yibeichan
Copy link
Contributor

yes! we also encountered cases like SQL for a compute item...

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

2 participants