Search
Saturday, 26th of June 2021, 6:55:36 UTC
7:30:09
reedrichards
** NICK MrFantastik
7:37:20
MrFantastik
any irc bot library for common lisp you all are fond of?
7:38:53
mfiano
I have heard only about cl-irc and maiden. Might be good jumping off points for you.
7:39:26
MrFantastik
cl-irc looks pretty nice to me
7:49:05
pjb
MrFantastik: some bot examples are in: https://github.com/informatimago/lisp/tree/master/small-cl-pgms (bot*)
7:49:22
pjb
MrFantastik: one of them is in #hn
7:52:28
MrFantastik
is there an echo bot in there?
7:53:19
MrFantastik
lol https://github.com/informatimago/lisp/blob/master/small-cl-pgms/basic/basic.lisp#L10
7:53:31
MrFantastik
when you think basic would mean simple but really its an interpreter
8:30:29
pjb
MrFantastik: well it was designed as an interpreter originally.
8:32:06
pjb
or was it a compiler? http://dtss.dartmouth.edu/scans/BASIC/BASIC%20Compiler.pdf
8:33:23
pjb
Writing a compiler in assembler!
8:34:00
MrFantastik
in only 24000 lines lol
8:34:05
moon-child
they all start that way :P
12:53:59
mdhughes
My C BASIC interpreter is 1500 lines, Scheme PILOT interp. is 500 lines, probably a good complete BASIC would be <1000 lines?
12:55:36
mdhughes
basic.lisp there is missing most things you'd actually want.
17:00:35
pjb
mdhughes: old BASICs could stand in 2KB of ROM…
17:03:18
mdhughes
2.5K for Tiny BASIC in ASM, 4K for something a little more habitable, 8-16K for good ones. And most instructions are 1-2 bytes… That's a lot of LOC.
17:08:43
mdhughes
https://archive.org/details/Palo_Alto_Tiny_BASIC_Version_3_Li-Chen_Wang_1977
Saturday, 26th of June 2021, 18:55:36 UTC