3 ms·
I worked in a language where all datastructures were "flattened", could be trivially serialized to disk, and read in again. Called print and read. The language
by rurban 2y ago
I worked in a language where all datastructures were "flattened", could be trivially serialized to disk, and read in again. Called print and read. The language was called lisp. All flat, just parens.
Some of my compilers export the AST as lisp trees. Much smaller and more readable than json, and it can be executed. Uniform like bricks
- vanderZwan 2y ago> All flat, just parens. So not flat then. Prefix is not postfix. Forth, and most concatenative languages, are much closer to actually bein, flat. Lisp is trivial to flatten, but that's not the same thing.