Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C code generator #1286

Open
2 tasks
jklmnn opened this issue Jan 11, 2023 · 0 comments
Open
2 tasks

C code generator #1286

jklmnn opened this issue Jan 11, 2023 · 0 comments
Assignees
Labels
generator Related to generator package (SPARK code generation)

Comments

@jklmnn
Copy link
Member

jklmnn commented Jan 11, 2023

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.

@jklmnn jklmnn added the generator Related to generator package (SPARK code generation) label Jan 11, 2023
@jklmnn jklmnn self-assigned this Jan 11, 2023
@jklmnn jklmnn added this to To do in RecordFlux 2023-02-24 via automation Jan 11, 2023
@jklmnn jklmnn moved this from To do to In progress in RecordFlux 2023-02-24 Jan 11, 2023
@treiher treiher moved this from In progress to Design in RecordFlux 2023-02-24 Jan 11, 2023
@senier senier added architectural decision Discussion of design decision and removed architectural decision Discussion of design decision labels Jan 12, 2023
jklmnn added a commit that referenced this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Related to generator package (SPARK code generation)
Projects
No open projects
Development

No branches or pull requests

2 participants