Justine Tunney
9367253b4d
Add more libm unit tests and fixes
...
See #61
2021-03-02 13:57:23 -08:00
Justine Tunney
d932948fb4
Remove more nonstandard stuff from cosmopolitan.h
...
Fixes #61
2021-03-01 00:18:23 -08:00
Justine Tunney
e75ffde09e
Get codebase completely working with LLVM
...
You can now build Cosmopolitan with Clang:
make -j8 MODE=llvm
o/llvm/examples/hello.com
The assembler and linker code is now friendly to LLVM too.
So it's not needed to configure Clang to use binutils under
the hood. If you love LLVM then you can now use pure LLVM.
2021-02-09 02:57:32 -08:00
Justine Tunney
fdc3fa9148
Remove sun musl fdlibm math library
...
The libm code from musl wasn't being used since most of these functions
are implemented using x87 which goes faster than a library intended for
risc machines.
2021-01-31 18:25:16 -08:00
Justine Tunney
37a4c70c36
Change license
2020-12-27 17:18:44 -08:00
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
Justine Tunney
2e979c00c3
Polish up repository and other revisions
2020-06-16 06:38:43 -07:00
Justine Tunney
b4269930f7
Add scouts honor escape hatch for source embedding
2020-06-15 19:01:28 -07:00
Justine Tunney
c91b3c5006
Initial import
2020-06-15 07:18:57 -07:00