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

Decide if and how to support multiple packages in Kolasu 1.6 and successive #366

Open
ftomassetti opened this issue Jul 10, 2024 · 2 comments
Milestone

Comments

@ftomassetti
Copy link
Member

We should also consider exporting to LionWeb

@ftomassetti ftomassetti added this to the 1.6.1 milestone Jul 10, 2024
@alessiostalla
Copy link
Member

I'm a fan of using multiple packages for larger languages or languages that embed other languages (such as SAS + SQL + SAS macro language). However maybe those different packages could be translated into multiple single-package languages in Lionweb, and even in Kolasu we could have each Language correspond to a single package.

@ftomassetti
Copy link
Member Author

I'm a fan of using multiple packages for larger languages or languages that embed other languages

Then we will find a way to support them

However maybe those different packages could be translated into multiple single-package languages in Lionweb, and even in Kolasu we could have each Language correspond to a single package.

Yes, I think this is one option. Probably it would be the most straightforward, however I think for that to work we should ensure we do not have circular dependencies among the packages.

If circular dependencies are needed and we cannot support with the approach you suggest, as an alternative approach we could translate them as a single language in LionWeb but add annotations indicating to which package they belong. Then we could use that information when generating code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants