Re:Pyjion – A Python JIT Compiler
by chrisseaton on Tuesday November 09, 2021 @02:29PM
(#29166268)
It's a spectrum - some languages do it a lot better than others. Not having anything more than a conversational English description of what it does is definitely the lower end of the spectrum. I'm sure very few are doing it perfectly, but for example Java has a formal semantics.
[ Parent
| on HN ]
> but for example Java has a formal semantics.
I don't think that's really true. The Java language specification is entirely prose. The book you linked to was written by "outsider" authors and published in 1999 (!).
Re:Pyjion – A Python JIT Compiler
by chrisseaton on Tuesday November 09, 2021 @05:22PM
(#29168315)
That was just one example of many - there's a whole cottage industry of writing formal semantics for Java.
https://fsl.cs.illinois.edu/publications/bogdanas-rosu-2015-...