forked from OpenCyphal/nunavut
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release changes the default C++ generator to email a built-in VariableLengthArray type. This type makes no use of the standard library's containers and allocators and is optimized for Cyphal types. It does support using STL allocators but also includes a special pattern that allows the VLA to be backed by a fixed array with minimal overhead. # PR activity * Fix missing array capacity constant generated * Fix typo * Fix typo[2] * Update src/nunavut/lang/cpp/templates/_fields.j2 Merge suggestion by @pavel-kirienko Co-authored-by: Pavel Kirienko <pavel.kirienko@gmail.com> * Proper support for variable_length_array This change fixes the support for a built-in, default variable length array implementation for C++ types that can be overridden by the user. To accomplish this the concept of “support resource type” was added to allow different behavior for serialization support resource than for datatype support resources. * fixing windows build * checkpoint almost there. * Carefully adding a couple more features * it aint pretty but it works * not sure why you no Windows? * fixing windows and adding except specifiers to new contrustors * fixing test * fixing gcc builds * fixing logic error in fp test * tests are broken but pushing to save my work * fixing test * fixing 32bit builds * removing vestigal comment * fixing linter error * fixing code smell Co-authored-by: Pavel Pletenev <cpp.create@gmail.com> Co-authored-by: Pavel Kirienko <pavel.kirienko@gmail.com>
- Loading branch information
1 parent
498dc38
commit 25bc50b
Showing
28 changed files
with
1,178 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
:hidden: | ||
|
||
api/library | ||
languages | ||
templates | ||
CLI (nnvg) <cli> | ||
dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
################################################ | ||
Software Language Generation Guide | ||
################################################ | ||
|
||
.. note :: | ||
This is a placeholder for documentation this project owes you, the user, for how to integrate nnvg with build | ||
systems and how to tune and optimize source code generation for each supported language. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.