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

JSON (IR) backend needs fixes #883

Open
emil14 opened this issue Feb 16, 2025 · 0 comments
Open

JSON (IR) backend needs fixes #883

emil14 opened this issue Feb 16, 2025 · 0 comments
Assignees
Labels

Comments

@emil14
Copy link
Collaborator

emil14 commented Feb 16, 2025

First of all it's broken:

neva build -target=json e2e/interface_with_imports/main

failed to compile: json: unsupported type: map[ir.PortAddr]ir.PortAddr

Second, after we fix it we must add some e2e tests. And finally the name -target=json is a bit confusing, because among all program representation we emit intermediate one. Probably should be -target=ir. We can add options like (json would be the default format)

neva build -target=ir -format=json ...
neva build -target=ir -format=yaml ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant