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

Modify AbstractDataType to be independent from target programming language #164

Open
desaikd opened this issue Oct 30, 2024 · 0 comments
Open
Labels
code generation Improvements for code generation subcommand `generate` enhancement New feature or request

Comments

@desaikd
Copy link
Contributor

desaikd commented Oct 30, 2024

Currently ADT has a dependency on the target programming language through namespace paths. The FullyQualifiedTypeName and FullyQualifiedTypeReferences in ADT use target programming language to determine the namespace path format. (For example, Java uses class/enum names but Rust uses a module name + struct/enum name)

The ADT should just store the namespace as strings and on the template side or generation side it should properly format namespace path based on the target programming language.

Reference discussion: #163 (comment)

@desaikd desaikd added enhancement New feature or request code generation Improvements for code generation subcommand `generate` labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code generation Improvements for code generation subcommand `generate` enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant