-
Notifications
You must be signed in to change notification settings - Fork 218
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
build: Add Zig minimal example #3372
Conversation
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) |
I have now added a unit test. |
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... |
Looks great, thanks @vanillajonathan ! |
Head branch was pushed to by a user without write access
Thanks @vanillajonathan ! |
This is a Zig example which uses the
libprql_lib.h
C header file and loads the PRQL library using dynamic linking.