mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
1.0 KiB
1.0 KiB
- clean up logging, use chalk to do colored warnings/errors and make logging look very nice and informative (no emojis)
- it's weird that method generation comes before array specialization. i'd assume method generation should get the specialization and use those to output the correct array type for return types and parameters and error if an array type is not specialized?
- type extractor should also report typedefs like typedef long long PropertyId; so primitive type to some name, and we need to handle that in the codegen
- Generate language bindings from spine-cpp-lite
- Create a TypeScript-based generator that takes spine-cpp-lite.h and generates:
- Swift bindings (matching current spine-ios output from spine-cpp-lite-codegen.py)
- Dart high-level wrapper (matching current manually-written spine_flutter.dart)
- Should support language-specific customizations and special cases
- Parse spine-cpp-lite.h using tree-sitter-c
- Handle type conversions and memory management patterns for each language
- Create a TypeScript-based generator that takes spine-cpp-lite.h and generates: