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

Add Support For PHP / Other Languages In Behavior #134

Open
brentvdalling opened this issue Jan 8, 2020 · 5 comments
Open

Add Support For PHP / Other Languages In Behavior #134

brentvdalling opened this issue Jan 8, 2020 · 5 comments

Comments

@brentvdalling
Copy link

For issues give the following informations related to your issue:

  • System Designer version number: v4.4
  • System Designer platform: macOS
  • Your OS version: macOS 10.14.4

If the user attempts to place anything but javascript into the behavior of the model and its method, the editor displays a bunch of errors and will occasionally overwrite the contents of the behavior upon opening the behavior.

Please add support for other languages and maybe even a controlled tab/type so we can further distinguish items in the projects.

@ecarriou
Copy link
Member

ecarriou commented Jan 9, 2020

Thanks you for your suggestions!

In fact, I have started to do that a few times ago (cf. #89 ). For the design part it would not required a lot of work (part of the work was already done internally), but for the runtime it would need some time because it is heavily based on JavaScript features (i.e. JSON, creation of methods from a string, ...).

I prefer to focus more on stabilization and documentation for the moment, but I will see how I can do it because you are not the first person to ask for that feature.

@brentvdalling
Copy link
Author

PHP supports everything you just mentioned. It would be great to see this tool support multiple C based languages. Importing XMI data would be a plus also.

@ecarriou
Copy link
Member

I will continue on supporting other languages depending on the time I have.

For the XMI, I previously study how to import/export XMI file, but I found the XMI file too verbose to do it in a short time and I did not know if people will use it if I implement that feature. If you think that could be interesting, I can have a look too on that feature.

@brentvdalling
Copy link
Author

Any updates on this?

@ecarriou
Copy link
Member

Not for the moment, but I will have a look to this issue when I will have more free time.

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

No branches or pull requests

2 participants