is an attempt at writing a
bot in 🐔 Scheme 4.
At the moment, the program barely works, if at all.
- API implementation
- ❎ Websockets
- ❎ REST API
- ☑ Audit Log
- ☑ Channels
- ☑ Emoji
- ❎ Guild
- ☑ Invite
- ❎ User
- ☑ Voice
- ☑ Webhooks
- ❎ Interface
- ❎ Parsers and glue
- ❎ Event loop
Building & Running
After experimenting around with
static linking, bundled shared libraries, and interpreted
scripts, I settled on
includeing everything in
main.scm and compiling it to a single executable.
First, make sure you have the required eggs:
chicken-install -s http-client openssl uri-common medea
websockets args 🥚
(The latter two don't do much right now.)
To build the program, you simply need to
csc main.scm -o λℵ and run
./λℵ -h to see the help message, for instance.
However, you'll realise there's nothing in there other than an
ironically unhelpful message about calling
--version. This is because there isn't any
interface for any of the procedures in there so far (see the
status above). So, until I write a proper command line interface
you'll need to load
and call the procedures manually there. The imported modules
export all the necessary procedures anyway.