Commit graph

17 commits

Author SHA1 Message Date
agreppin
1f066da3a1
Merge pull request #9 from peterferrie/main
shave some bytes (credits @peterferrie)
2021-11-02 14:47:02 +01:00
Peter Ferrie
a469910340 shave some bytes 2021-10-31 09:54:36 -07: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
cbb4ecc4d5 test files added 2021-10-03 17:03:58 +02:00
Alain Greppin
b77c74543d latest sectorlisp.bin 2021-10-03 16:24:53 +02:00
Alain Greppin
3b26982d9c Eval based on LISP 1.5 manual, 509 bytes 2021-09-28 05:25:24 -07:00
Ilya Kurdyukov
333c5efba4 smaller Intern function 2021-09-28 02:43:05 -07:00
Justine Tunney
2c1ddc26da Fix LICENSE file name 2021-03-05 12:20:03 -08:00
Scott Wolchok
4a045620bb Fix sizeof kSymbols 2021-02-27 22:57:06 -08: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
b64b27feb8
Merge pull request #1 from moon-chilled/main
Minor tweaks so the assembly builds with clang
2020-10-27 14:40:00 -07:00
Moonchild
d56afe537c minor tweaks so the assembly builds with clang 2020-10-27 14:20:22 -07:00
Justine Tunney
665668a7a0 Reduce sectorlisp from 948 to 856 bytes 2020-10-27 13:45:12 -07:00
Justine Tunney
a561e031ae Initial import 2020-10-26 18:21:15 -07:00