Hey, CLIPS group! I wanted to share something I've been working on.
CLIPSockets is an educational exploration into a low-level sockets library providing networking capabilities to CLIPS. This means: you can accept or make network requests to ip/port combinations directly within CLIPS!
I following the source code present in filertr.c very closely in order to make design decisions around the library.
There are example server/client code present in the repo demonstrating IPv4, IPv6 and unix socket communication.
In the past, I've made applications in Go and C directly that effectively would "wrap" a CLIPS environment and relay strings into and out of the CLIPS environment in order to send data over the network. With this library, you can leverage the built-in I/O functions like (readline), (read) and (printout) to read to/write from clients connected via the internet.
Let me know what you all think!