syntax vs domain comes up a bit in NbE
Conversation
Syntax is the thing you are evaluating from - the 'terms', domain are what you evaluate to - the 'values'. I think. But it's still kinda confusing why they ended up being called that.
1
I know the concepts. I just think it’s terrible jargon that fails to communicate unless everyone first syncs up on nbe.
1
1
Agreed. I'm definitely interested in figuring out something better, even just for NbE. Let me know if you have any ideas!
1
I'm trying to figure out a better way to organise my modules in my core crate: github.com/brendanzab/rus
1
atm core (the syntax) is inside the syntax module. and domain is in the syntax module too (kind of at odds with nbe). Not sure what to call these modules and where to put them.
1
At least I'm pretty happy with the names I've used for the variants in my core syntax and elsewhere: github.com/brendanzab/rus
2
1
I've found 'level' to be annoying, because it really feels like it should be called an 'index'. Because you're indexing from the start of the environment.
1
ok, so phrased differently: you’re using codebruijn aka “debruijn levels” aka distance from the top for static semantics, and debruijn indices / aka stack offset for dynamic semantics?
2
1
(you mentioned Conor's "codebruijn" work earlier -- if we're thinking of the same thing (arxiv.org/abs/1807.04085), then that, and dB levels, are two *entirely different* things which are in some way dual to dB indices)
1
1
So are you saying that what I'm doing is _not_ co-debruijn? (I had assumed not before Carter mentioned it, but I haven't yet got my head around Conor's paper yet...)
I don't know whether "co-debruijn" is an "officially existing" term at all (it could be, for all I know)
all I'm saying is that de-Bruijn indices, de-Bruijn levels, and Conor's paper which I linked are *three* different things
1
Oh, I see he does call it co-de-Bruijn in the abstract :-)
1
Show replies


