-
Notifications
You must be signed in to change notification settings - Fork 226
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
More examples? #432
Comments
Perhaps links to projects that use Inkwell could be added? In my opinion, a real use case is the best example :) |
True, that would be wonderful. |
Can I shamelessly plug a mini-project of mine? https://github.com/sampsyo/bril/tree/main/bril-rs/brillvm Assuming you already have a frontend, it shows how to use the Inkwell bindings to compile your IR to LLVM or execute it via the jit. Probably a bit on the simpler side for people more familiar with LLVM. It does show off a few cool things:
Critiques appreciated! |
@Pat-Lafon, that really looks interesting! Currently, I am developing Kestrel, a programming language similar to Rust, with a rich type system and safety guarantees, but a different view on generics.
However, I would also like to mention to the old Kestrel. It has the basic features of a programming language - and a trait-based type system. However, although it checks ownership and mutability and references, it is unsafe as it does not check lifetimes. This is what the "new" Kestrel seeks to solve. Regardless, the old Kestrel demonstrates:
|
Happy to accept PRs to list more examples |
self-plug: https://github.com/Dominilk/llvmbf small llvm frontend for brainf*ck esoteric language |
Can we plz have more examples?
The text was updated successfully, but these errors were encountered: