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

Add more functionality static expressions #15

Open
GearsDatapacks opened this issue Nov 17, 2024 · 0 comments
Open

Add more functionality static expressions #15

GearsDatapacks opened this issue Nov 17, 2024 · 0 comments

Comments

@GearsDatapacks
Copy link
Member

We want to be able to reference storages and scoreboard from static expressions, as well as probably compile-time-known expressions like 1 + 1. I propose we allow any expression which is allowed in a compile-time variable, after #13 is resolved, and the additional referencing of macro variables, and resources, assets and functions.
So that the syntax for referencing storages doesn't conflict with the syntax for referencing resources, we should make the latter require the res keyword, like fn does

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

1 participant