Stream: t-compiler/rust-analyzer

Topic: HIR stands for ...


matklad (Mar 29 2021 at 14:18, on Zulip):

hidden intermediate representation!

This is semi-jokingly, but, indeed, that's probably the most important part of our hir_xxx crates -- they are invisible from hir on.

More seriously, I am not too thrilled about our hir terminology, for two reasons:

I wonder what's the best name for the hir (top level) thing?

Edwin Cheng (Mar 29 2021 at 14:21, on Zulip):

semantic representation ?

matklad (Mar 29 2021 at 14:24, on Zulip):

sr::Struct or sem::Struct ?

Jonas Schievink [he/him] (Mar 29 2021 at 14:24, on Zulip):

the hir_ prefix is also not really accurate

matklad (Mar 29 2021 at 14:25, on Zulip):

I guess it's fairly accurate if you look at it as "hidden"

Edwin Cheng (Mar 29 2021 at 14:26, on Zulip):

We already have ssr , so I will vote for sem .

Last update: Jul 24 2021 at 21:15UTC