Using JSON Instead of STDOUT
Experiment Working Paper, Towards Higher Level Syntax for Programming Languages 2024-11-11
Revelation: I like to think in terms of UNIX pipelines. 0D[1] is like UNIX pipelines, but, 0D is more efficient and 0D allows many more input and output ports in software components. Using UNIX's `stdin`, `stdout` and `stderr` are not enough in the presence of multiple ports. It looks like JSON might fit the bill, though. I know from previous experience that SWIPL (a PROLOG) can cast its results to JSON[2]. I imagine that any modern programming language can produce JSON. I hope to poke at this idea of using JSON instead of using raw, unstructured text like `stdout` in hopes of creating a cheapo multi-language REPL.
See Also
References: https://guitarvydas.github.io/2024/01/06/References.html
Blog: https://guitarvydas.github.io
Videos: https://www.youtube.com/@programmingsimplicity2980
Discord: https://discord.gg/qtTAdxxU
Leanpub: [WIP] https://leanpub.com/u/paul-tarvydas
Gumroad: https://tarvydas.gumroad.com
Twitter: @paul_tarvydas
Bibliography
[1] 0D from https://github.com/guitarvydas/0D
[2] Read and Write JSON in PROLOG from

