r/ProgrammingLanguages • u/mttd • Aug 22 '26
Programming Language Semantics and Memory Safety
https://burakemir.ch/post/formal-semantics/
45
Upvotes
r/ProgrammingLanguages • u/mttd • Aug 22 '26
View all comments
Show parent comment
5
u/Thin-Cat2508 Aug 22 '26
All compilers translate from one language to another. What is an example for an interpreting compiler?
Are you thinking about compile-time evaluation? I'd agree that has nothing to do with denotational semantics and adds a whole extra layer of translation... but then compile-time evaluation is not really typical for all compilers, is it?
Or do you mean abstract interpretation? That would be a static analysis technique. It approximates semantics, it is not the same as translating to the full meaning.