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

Compile conflict-free objects to wasm #6

Open
d-roak opened this issue Jun 6, 2024 · 0 comments
Open

Compile conflict-free objects to wasm #6

d-roak opened this issue Jun 6, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Open for external contributors

Comments

@d-roak
Copy link
Member

d-roak commented Jun 6, 2024

Compile every object that extends Topology Object to wasm and embed it in an ABI file.

Topology Object:

export abstract class TopologyObject {

ABI Format:

{
"imports": ["./pixel.json"],
"fns": [
"fn splash(string, [u64][u64], [u64][u64], [u64, u64, u64]): void",
"fn paint(string, [u64][u64], [u64, u64, u64]): void",
"fn canvas(): [u64, u64, u64][][]",
"fn pixel(u64, u64): Pixel"
],
"vm": "wasm",
"bytecode": []
}

References

@d-roak d-roak added enhancement New feature or request good first issue Good for newcomers labels Jun 6, 2024
@d-roak d-roak added help wanted Open for external contributors and removed good first issue Good for newcomers labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Open for external contributors
Projects
Status: 🔜 Todo
Development

No branches or pull requests

1 participant