Compiler Programming in Rust - Progress Update - Enums and Abilities
Vložit
- čas přidán 5. 07. 2024
- This is a progress update style video where I show the progress on enums and abilities, as well as some tooling improvements like scope pretty-printing.
x.com/kolemannix
github.com/kolemannix/bfl - Věda a technologie
Love the work you're doing on the compiler, thanks for the video!
Thanks for the comment!
Do you use LLVMC api with inkwell to generate the llvm ir? I have massive problem of LLVMC just not being included in official releases, only Windows seem to have prebuilt binary. Its totally hopeless, cannot use my compiler on linux. How did you solve this problem, are there any good places to find LLVMC binaries?
I can't speak to Linux but my process to getting thinks working with Inkwell was:
- Install LLVM (did from source and homebrew at diff times)
- Set LLVM_SYS_PREFIX appropriately so that inkwell / llvm_sys can find the LLVM install
Had some linking issues involving zstd when I upgraded to LLVM 15 so had to add that as a dependency to my project, which worked.
What .bfl stands for
"Baby's first language" :) It's a sort of temporary name for the project until I can think of a better one.
@@KolemanNix 😄