@joeld Sounds like Common Lisp.
The standard defines some things at a more abstract level, like files. Conforming *implementations* exist across differing operating systems, architectures, running on the JVM, and so on. An amazing amount of stuff basically just works even if fairly ancient.