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

Define two binaries for compiler and deprecate futil in favor of calyx #1454

Merged
merged 7 commits into from
May 9, 2023

Conversation

rachitnigam
Copy link
Contributor

@rachitnigam rachitnigam commented May 9, 2023

Long term, we're going to remove the default futil binary and replace it with calyx. This builds both and generates a warning any time you use the futil binary. If things start breaking for you, especially with fud, try running the command:

fud c stages.futil.exec "$(pwd)/target/debug/calyx"  

This will update fud to use the new calyx binary.

@rachitnigam rachitnigam linked an issue May 9, 2023 that may be closed by this pull request
@rachitnigam rachitnigam enabled auto-merge (squash) May 9, 2023 07:29
@rachitnigam rachitnigam merged commit 3a32f40 into master May 9, 2023
@rachitnigam rachitnigam deleted the calyx-bin branch May 9, 2023 09:00
@EclecticGriffin
Copy link
Collaborator

random q: are we planning to change the file extension type (name)? Could fight with calendars using .cal or with a document processor using .lyx, could use .cx (shockingly might actually be largely unused), .clx to conflict with adobe products??? apparently, or the long .calyx

@rachitnigam
Copy link
Contributor Author

I was hoping to do that in the future but it is a large-ish change. I was thinking of .yx but .cx wouldn't be too bad? The only problem is that its too close to cxx which reminds people of terrible language

@sampsyo
Copy link
Contributor

sampsyo commented May 10, 2023

Wow; how exciting! This has been a long time coming!

.yx is very cute. I also really don't mind the fully-spelled-out .calyx.

@EclecticGriffin
Copy link
Collaborator

I am also a fan of .yx, but truly any of these would be fine

@anshumanmohan
Copy link
Contributor

In this vein, would you consider renaming the fud invocation too? Only if it's easy.

The guide is currently forced to go like, "to compile to Calyx, pass the --to futil flag." and that's just a tiny bit annoying.

@rachitnigam
Copy link
Contributor Author

We can take a look but that might be a big breaking change. Can you open a new issue for this?

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

Successfully merging this pull request may close these issues.

Tutorial: update the published docker before the tutorial
4 participants