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

How to customize Merging Variables step #36

Open
gmiseria opened this issue Dec 30, 2022 · 0 comments
Open

How to customize Merging Variables step #36

gmiseria opened this issue Dec 30, 2022 · 0 comments

Comments

@gmiseria
Copy link

gmiseria commented Dec 30, 2022

First of all, the job you have done is really fantastic.

For a proof of concept, I'm trying to extend your code to work with other types of Variables like series but the same question is valid for other Variable too.

If I develop a new function to create a new Series Variable I can do a script like this
a=CreateSeries(value1, value2 ecc.)
and the "a" variable is of type Series.

Now if I try to execute a script like b=a+1 the interpreter try to merge a and 1 but the Merge between Series and Number does not exist in the Parser.cs

Is there a method to extend the Merge capabilities as we do with the functions and modules?

I know that I could develop a new function like AddSeriesAndNumber with two parameters Serie and a Number but use the standard operator like + / ecc. would be very useful

thanks again for the great job

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

1 participant