Does anyone know of something like a basic test suite for developing a language?
My idea is that in addition to building up test cases that implement specific functionality, what if I had a corpus of programs and a source to source compiler I could retarget to my new language?
I can think of a lot of things that would make this hard—mutability vs immutability, semantics of basic data types, etc.
03/23/2023, 11:40 AM
WikiFunctions! cc @Denny Vrandečić
03/23/2023, 11:57 AM
I think i have something that you could look at. I was tangentially involved with an implementation of the reactive-streams spec that was incorporated into java 1.9.
look at the section “A Note for Implementors”
Its a very simple collection of 3 interfaces that you have to implement but they have complex runtime behavior.