Blog: 2024-02-12: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 February 2024

12 February 2024

  • curprev 13:0713:07, 12 February 2024Razzi talk contribs 1,523 bytes +1,523 Created page with "Started on this quest to have a scheme repl where the outputs are italicized, like the SICP book. Printing italics is pretty easy: <pre> In [1]: line = 'a' In [2]: print(f'\x1B[3m{line}\x1B[0m') a </pre> ''It's italic, trust me!'' But when it comes to spawning a scheme subprocess and interacting with its stdin and stdout, I took many turns, eventually trying nodejs since its asynchronous io model more closely fits this use case. Here's what worked (or at least is a..."