esa / opengeode

OpenGEODE - a free SDL editor
https://opengeode.net
GNU Lesser General Public License v3.0
69 stars 20 forks source link

the tool can use the command line to operate?? #61

Closed qb1141644609 closed 3 years ago

qb1141644609 commented 4 years ago

I was developping a tool,and i want to use the function of generating ADA ,but i dont know if your tool provides the function using the command line to operate

maxime-esa commented 4 years ago

Yes, you can use the --toAda flag from the command line.

qb1141644609 commented 4 years ago

image i tried many times ,and i can open the tool and the file using the command line ,but i cannot use the --toAda flag from the command line to generate ada codes.

maxime-esa commented 4 years ago

Oh you are using the Windows build. Unfortunately the Windows target is not up to date and is not tested very well. The command line processing may not be supported by the tool that was used to bundle the Python code into an executable.

Can you use the Linux version instead? The Windows binary was last built perhaps 2 years ago, and it is missing many features and bugfixes. Sorry for that...

qb1141644609 commented 4 years ago

Thank you for your answer,and i want to ask one more questions.If the tool supports to generate C codes in the Linux version?

maxime-esa commented 4 years ago

There is a prototype of a C code generator, which works for simple systems but it misses some features of SDL like nested/parallel states, continuous signals and function type/instance.

There are a few contributors who are working on it, however it is not the main target. Are you targetting a platform that has no support for Ada ?