The tool for visual programming

前端 未结 5 1876
无人及你
无人及你 2020-12-29 16:39

I need the tool for graphical representing of work flow in a program (like electronic circuits are described with graphical representation). The representation has to be lik

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-29 17:36

    Warning: Shameless plug

    Seen Memention Designer?

    It's built around a configurable engine and can output in almost any language.

    But, I'm sorry. It's not really free.


    (source: memention.com)

    Above example exports following c-code, but could with some re-configuration generate some else language.

    #include 
    
    /* there are 8 blocks */
    int running;
    /* there are 1 out blocks */
    int state_curr_1;
    int state_next_1;
    
    int main(int argc, char *argv[]) {
      running = 1;
      state_curr_1 = 0;
      while (running) {
        state_next_1 = (state_curr_1 + 19);
        running = (state_curr_1 != (19 * 12));
        state_curr_1 = state_next_1;
        printf("out = %d\n", state_curr_1);
      }
      return 0;
    }
    

提交回复
热议问题