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

Sawzall and Qi #5

Open
countvajhula opened this issue Apr 30, 2022 · 0 comments
Open

Sawzall and Qi #5

countvajhula opened this issue Apr 30, 2022 · 0 comments

Comments

@countvajhula
Copy link

Ahoy there, Session 2 friend! ⚓

In accordance with Jay's secret plan for us all along, I just wanted to give you a heads up that Qi recently got an upgrade that allows it to be used with Sawzall!

The most straightforward way to do it is this:

(define-qi-foreign-syntaxes
  show introspect where where* deduplicate slice create aggregate pivot-longer drop-na)

This creates a "macro bridge" between the two DSLs and allows Sawzall's forms to be treated as Qi forms, allowing the use of threading and tee junctions and the rest of Qi.

Note that this macro bridge would need to be require'd in any module that will use Sawzall together with Qi.

There are in principle also other ways they could be integrated which could be more seamless, and some ways that could allow Sawzall to have a distinct compilation step. The Qi docs have some info on these in case you'd be interested in exploring them (and I'm happy to share learnings or collaborate here as Qi is in the midst of exploring some of these options too).

Cheers!

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