Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ main.exe
dist/
__pycache__/

# .NET/C# build outputs
bin/
obj/
*.dll
*.exe

# Generated code directories
generated/
gen/
Expand Down
8 changes: 5 additions & 3 deletions src/struct_frame/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
from .py_gen import FilePyGen
from .gql_gen import FileGqlGen
from .cpp_gen import FileCppGen
from .csharp_gen import FileCSharpGen

from .frame_format import FrameFormat, FrameFormatCollection, parse_frame_formats
from .frame_parser_c_gen import generate_c_frame_parsers, FrameParserCGen
from .frame_parser_py_gen import generate_py_frame_parsers, FrameParserPyGen
from .frame_parser_ts_gen import generate_ts_frame_parsers, generate_js_frame_parsers, FrameParserTsGen, FrameParserJsGen
from .frame_parser_cpp_gen import generate_cpp_frame_parsers, FrameParserCppGen
from .frame_parser_csharp_gen import generate_csharp_frame_parsers, FrameParserCSharpGen

from .generate import main
from .generate_boilerplate import (
Expand All @@ -21,12 +23,12 @@
get_boilerplate_dir
)

__all__ = ["main", "FileCGen", "FileTsGen", "FileJsGen", "FilePyGen", "FileGqlGen", "FileCppGen", "version",
__all__ = ["main", "FileCGen", "FileTsGen", "FileJsGen", "FilePyGen", "FileGqlGen", "FileCppGen", "FileCSharpGen", "version",
"NamingStyleC", "CamelToSnakeCase", "pascalCase",
"FrameFormat", "FrameFormatCollection", "parse_frame_formats",
"generate_c_frame_parsers", "generate_py_frame_parsers",
"generate_ts_frame_parsers", "generate_js_frame_parsers",
"generate_cpp_frame_parsers",
"FrameParserCGen", "FrameParserPyGen", "FrameParserTsGen", "FrameParserJsGen", "FrameParserCppGen",
"generate_cpp_frame_parsers", "generate_csharp_frame_parsers",
"FrameParserCGen", "FrameParserPyGen", "FrameParserTsGen", "FrameParserJsGen", "FrameParserCppGen", "FrameParserCSharpGen",
"generate_boilerplate_to_paths", "update_src_boilerplate",
"get_default_frame_formats_path", "get_boilerplate_dir"]
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_default.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_extended.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_extended_length.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_extended_msg_ids.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_minimal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_multi_system_stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_seq.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/basic_sys_comp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/frame_base.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser base utilities */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/frame_format_config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/frame_parsers.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser main header */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/mavlink_v1_frame.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/mavlink_v2_frame.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_default.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_extended.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_extended_length.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_extended_msg_ids.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_minimal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_multi_system_stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_seq.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/tiny_sys_comp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/c/ubx_frame.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/BasicDefault.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/BasicExtended.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/BasicExtendedLength.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/BasicExtendedMsgIds.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/BasicMinimal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/BasicSeq.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/BasicSysComp.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/FrameFormatConfig.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/MavlinkV1Frame.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/MavlinkV2Frame.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinyDefault.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinyExtended.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinyExtendedLength.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinyExtendedMsgIds.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinyMinimal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinyMultiSystemStream.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinySeq.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/TinySysComp.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/UbxFrame.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/frame_base.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser base utilities */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion src/struct_frame/boilerplate/cpp/frame_parsers.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated frame parser main header */
/* Generated by 0.0.1 at Thu Dec 4 22:44:11 2025. */
/* Generated by 0.0.1 at Fri Dec 5 01:14:49 2025. */

#pragma once

Expand Down
Loading