vlang

/

v Public
0 commits 39 issues 0 pull requests 0 contributors Discussions Projects CI

Add a C99 backend #32

Describe the feature

Add a C99 backend to V. This will translate V code to C99 code.

Use Case

This feature would be useful for platforms that lack a newer C compiler than C99. This possible backend could expand V's reach into more systems.

Proposed Solution

C11 features that are used in V like atomics could be translated into older APIs like POSIX's mutex.

Other Information

No response

Acknowledgements

  • [x] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

Version used

v 0.5.1

Environment details (OS name and version, etc.)

This information isn't needed.

[!NOTE] You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.