Page 1 of 1

Good ideas?

Posted: Sun Aug 25, 2013 2:34 pm
by Druido
I think that would be very nice to be able to import, generating a flow of C code so that you can simulate with the rest of the project.
Another idea might be to have a statechart to manage the sub flochart?
Thank you and good job

Re: Good ideas?

Posted: Sun Aug 25, 2013 7:48 pm
by JonnyW
Hi Druido.

Do you mean turn C code into a flowchart? This could be possible and might be something we do in an external app, but C is a poor language for trying to do this, as it is firstly very reliant on the pre-processor, and secondly an ambiguous language requiring plenty of context. Not saying it isn't possible though and would be really nice to have down the line.

Thanks for the suggestion.

Jonny

Re: Good ideas?

Posted: Mon Aug 26, 2013 8:57 am
by Druido
It's what I meant to ask you, with regard to the statechart I do not say anything? have a state machine (not UML), but that makes it possible to create programs to be built with flochart then it would seem the perfection of the environment, right?
Thanks for your patience, Marco

Re: Good ideas?

Posted: Mon Aug 26, 2013 12:52 pm
by JonnyW
Hello. Yes, I see.

When a language is compiled it goes through a stage called a parse tree which is very much like a flowchart, so it is certainly possible to build a flowchart out of a textual language. For C it is not that simple, but I will have a look at how things are.

Jonny

Re: Good ideas?

Posted: Tue Aug 27, 2013 6:19 pm
by Druido
There is a free statechart to c code generator from xls, only a graphic interface is missing.... if you want contact me privately