Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [code-generation]

The tag has no usage guidance.

1
vote
0answers
11 views

State machine code generator

I'm developing a state machine and for that I researched if there are tools which generate code from UML diagram. Does anyone know what kind of tools exists there? I would want a code in C or C++.
0
votes
1answer
135 views

C protobuf-like framework, without malloc

Is there a Protocol Buffers implementation, or alternative, for C99, which works with statically allocated data, without the need for malloc? I.e. if all my structs have fixed length arrays: // this ...
1
vote
1answer
3k views

Tools to generate C code from UML

A lot of UML drawing tools can create C++ or Java code. Most of the programmers at my shop don't know the C++ language but do know the C language. I'm looking for recommendations of UML tools that ...
0
votes
0answers
73 views

Mono/.NET expression parser generator

I am looking for a Mono/.NET expression parser generator. It must be an open-source project that I can use in MIT-licensed projects. It should be able to process a syntax description for expressions (...
2
votes
2answers
300 views

How to generate code to satisfy a concept?

If I write code (for example a custom container) that should satisfy a specific concept (for example an InputIterator), I have to write much boilerplate (for example method/operator signatures and ...
1
vote
1answer
119 views

How to write a parser/code generator in Java?

I have to write a tool that converts an high level description of a program in its implementation in a proprietary language. This is an example: MS0 calls MS1 has to be converted in f_protocol_ex(...
1
vote
0answers
464 views

Library like Blockly for C++

I’m developing a visual programing tool for games, it has in place the UI which is similar to Unreal Engine’s Blueprint system. Now I want to find a library to generate C++ source code from the ...