Commit graph

8 commits

Author SHA1 Message Date
Peter Ferrie
8afbbdd383 shave some bytes 2021-11-08 08:09:12 -08:00
Justine Tunney
05d2bcbfd9 Improve LISP/C/ASM Rosetta Stone consistency 2021-10-30 00:42:55 -07:00
Justine Tunney
e09cdf6619 Remove more non-essential code 2021-10-26 19:53:17 -07:00
Justine Tunney
4233210a86 Remove old code and update documentation 2021-10-08 21:26:31 -07:00
Alain Greppin
3b26982d9c Eval based on LISP 1.5 manual, 509 bytes 2021-09-28 05:25:24 -07:00
Scott Wolchok
1058c959d8 remove extra trailing NUL on kSymbols
It wastes a byte this way -- see https://godbolt.org/z/nEj9hc
See diff of hexdump of sectorlisp.bin before/after:

```
*** before.txt  2021-02-27 13:17:47.842081600 -0800
--- after.txt   2021-02-27 13:16:40.789140700 -0800
***************
*** 31,33 ****
  000001e0: 4551 0043 4f4e 4400 4341 5200 4344 5200  EQ.COND.CAR.CDR.
! 000001f0: 434f 4e53 004c 414d 4244 4100 0090 55aa  CONS.LAMBDA...U.
  00000200: f7c7 0100 7509 d1ef 8db5 8641 e9a3 ff53  ....u......A...S
--- 31,33 ----
  000001e0: 4551 0043 4f4e 4400 4341 5200 4344 5200  EQ.COND.CAR.CDR.
! 000001f0: 434f 4e53 004c 414d 4244 4100 6690 55aa  CONS.LAMBDA.f.U.
  00000200: f7c7 0100 7509 d1ef 8db5 8641 e9a3 ff53  ....u......A...S
```

Second zero byte after LAMBDA is now uninitialized.
2021-02-27 22:57:06 -08:00
Justine Tunney
8a29ec3b23 Reduce sectorlisp to 836 bytes 2021-02-04 01:18:34 -08:00
Justine Tunney
a561e031ae Initial import 2020-10-26 18:21:15 -07:00