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

build: Add Zig minimal example #3372

Merged
merged 12 commits into from
Aug 23, 2023

Conversation

vanillajonathan
Copy link
Collaborator

This is a Zig example which uses the libprql_lib.h C header file and loads the PRQL library using dynamic linking.

@max-sixty
Copy link
Member

Cool!

Could we add a small test? Otherwise it's likely to decay.

(an alternative would be posting it to a gist / a blog, if you prefer to just publish some code quickly)

@vanillajonathan
Copy link
Collaborator Author

I have now added a unit test.

@max-sixty
Copy link
Member

Yes I also mean to run the test in CI...

I think that could be as small as just adding a job to https://github.com/PRQL/prql/blob/f9a983d1bc0d139b94246aa240d2c59edc35d709/.github/workflows/test-lib.yaml, which is easier that making a new workflow...

@max-sixty
Copy link
Member

Looks great, thanks @vanillajonathan !

@max-sixty max-sixty enabled auto-merge (squash) August 22, 2023 22:29
auto-merge was automatically disabled August 22, 2023 22:37

Head branch was pushed to by a user without write access

@max-sixty
Copy link
Member

Thanks @vanillajonathan !

@max-sixty max-sixty merged commit 66d4dff into PRQL:main Aug 23, 2023
51 checks passed
@vanillajonathan vanillajonathan deleted the vanillajonathan-patch-1 branch August 23, 2023 00:22
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.

2 participants