Compiler Programming in Rust - Progress Update - Enums and Abilities

Sdílet
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

Komentáře • 7

  • @MrKeebs
    @MrKeebs Před 21 dnem

    Love the work you're doing on the compiler, thanks for the video!

  • @arsenbabaev1022
    @arsenbabaev1022 Před 17 dny

    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?

    • @KolemanNix
      @KolemanNix  Před 13 dny

      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.

  • @Singlton
    @Singlton Před 16 dny

    What .bfl stands for

    • @KolemanNix
      @KolemanNix  Před 15 dny

      "Baby's first language" :) It's a sort of temporary name for the project until I can think of a better one.

    • @Singlton
      @Singlton Před 15 dny

      @@KolemanNix 😄