cosmopolitan/examples
Justine Tunney 9e3e985ae5 Make terminal ui binaries work well everywhere
Here's some screenshots of an emulator tui program that was compiled on
Linux, then scp'd it to Windows, Mac, and FreeBSD.

https://justine.storage.googleapis.com/blinkenlights-cmdexe.png
https://justine.storage.googleapis.com/blinkenlights-imac.png
https://justine.storage.googleapis.com/blinkenlights-freebsd.png
https://justine.storage.googleapis.com/blinkenlights-lisp.png

How is this even possible that we have a nontrivial ui binary that just
works on Mac, Windows, Linux, and BSD? Surely a first ever achievement.

Fixed many bugs. Bootstrapped John McCarthy's metacircular evaluator on
bare metal in half the size of Altair BASIC (about 2.5kb) and ran it in
emulator for fun and profit.
2020-10-19 06:38:31 -07:00
..
package Add further clarity to example package 2020-06-18 16:23:41 -07:00
acid2.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
auto-launch-gdb-on-crash.c Add example for auto debugging and asm() usage 2020-06-26 16:09:04 -07:00
backtrace.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
bigmem.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
breakpoint.c Initial import 2020-06-15 07:18:57 -07:00
cp.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
cplusplus.cc Initial import 2020-06-15 07:18:57 -07:00
crashreport.c Initial import 2020-06-15 07:18:57 -07:00
ctrlc.c Initial import 2020-06-15 07:18:57 -07:00
date.c Initial import 2020-06-15 07:18:57 -07:00
dinlerp.c Initial import 2020-06-15 07:18:57 -07:00
examples.mk Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
findprime.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fld.c Make improvements 2020-09-14 00:02:34 -07:00
forkrand.c Initial import 2020-06-15 07:18:57 -07:00
forky.c Initial import 2020-06-15 07:18:57 -07:00
generalized-automatic-datastructure-printing.c Initial import 2020-06-15 07:18:57 -07:00
gui.c Initial import 2020-06-15 07:18:57 -07:00
hello.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
hello.js Initial import 2020-06-15 07:18:57 -07:00
hello2.c Add pseudoteletypewriter to emulator 2020-08-29 23:51:09 -07:00
hello3.c Initial import 2020-06-15 07:18:57 -07:00
hello4.c Initial import 2020-06-15 07:18:57 -07:00
hellojs.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
hidecursor.c Initial import 2020-06-15 07:18:57 -07:00
invtsc.c Initial import 2020-06-15 07:18:57 -07:00
ispell.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
kilo.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
life.c Initial import 2020-06-15 07:18:57 -07:00
ls.c Make improvements 2020-09-14 00:02:34 -07:00
lstime.c Make more improvements 2020-09-28 01:20:34 -07:00
mappy.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
nesemu1.cc Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
now.c Initial import 2020-06-15 07:18:57 -07:00
peek.c Initial import 2020-06-15 07:18:57 -07:00
pipe.c Initial import 2020-06-15 07:18:57 -07:00
poll.c Initial import 2020-06-15 07:18:57 -07:00
printargs.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
printmysymbols.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
printprimes.c Initial import 2020-06-15 07:18:57 -07:00
rawmode.c Initial import 2020-06-15 07:18:57 -07:00
rusage.c Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
stat.c Initial import 2020-06-15 07:18:57 -07:00
subprocess.c Initial import 2020-06-15 07:18:57 -07:00
tiny-raw-linux-tutorial.S Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
ttyinfo.c Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
uname.c Initial import 2020-06-15 07:18:57 -07:00
unbourne.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
x86split.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00