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

Multiple DSLs chirps #91

Open
nicopap opened this issue Sep 27, 2023 · 0 comments
Open

Multiple DSLs chirps #91

nicopap opened this issue Sep 27, 2023 · 0 comments
Labels
C-chirp relates to the cuicui_chirp file format crate specifically T-enhancement New feature or request

Comments

@nicopap
Copy link
Owner

nicopap commented Sep 27, 2023

Users might want different DSLs based on what they are spawning. For example, we could imagine a game level DSL and a UI DSL.

As a result, we might want to support loading chirp files independently from the DSL they use.

A potential way of doing this is to create a registry of DSLs. Adding a ChirpPlugin::<MyDsl> would just add MyDsl to the registry. Then, the chirp file could specify which DSL it uses. If not specified, we could also use a default DSL (that the user declares)

@nicopap nicopap added T-enhancement New feature or request C-chirp relates to the cuicui_chirp file format crate specifically labels Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-chirp relates to the cuicui_chirp file format crate specifically T-enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant