Skip to content

C code generator #1286

@jklmnn

Description

@jklmnn

While the generated SPARK code is already architecture independent there are still platforms that don't have an Ada compiler at all. To increase the portability of RecordFlux a C code generator can be added.

The C code generator would consist of two major parts:

Additionally the rflx executable needs to be adapted to allow the selection of the desired output language. For that I propose the following parameter:

--target-language=<language>

The default value for the language would be spark. This pattern allows to introduce further languages in the future without needing to add new parameters.

Metadata

Metadata

Assignees

Labels

generatorRelated to generator package (SPARK code generation)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions