[CM] ANN: Godot s7 Scheme language binding
Rodrigo B. de Oliveira
rbo at acm.org
Wed Nov 20 02:39:13 PST 2024
> That's an interesting project! Let me know of any
> stumbling blocks.
Thanks! I will :)
> I notice you mention Geiser -- does
> it work with s7? I thought it was restricted to r6rs
> schemes, so I have ignored it up to now -- maybe I can
> help fill out the connections between s7 and geiser.
It didn't work out of the box.
To make it work I created a custom geiser connector/middleware:
* s7 side
https://github.com/bamboo/godot-s7-scheme/blob/bamboo/repl_server/demo/addons/s7/s7_scheme_repl.scm
(unit tests)
https://github.com/bamboo/godot-s7-scheme/blob/bamboo/repl_server/test/test-main.scm#L51
* Emacs side
https://github.com/bamboo/godot-s7-scheme/blob/bamboo/repl_server/emacs/geiser-godot-s7.el
The final piece is a TCP listener started by the Godot extension that
receives
a request, `compile-geiser-request` it then evaluates the resulting form
against
the active Godot `Scheme` node.
I've got it all working in a prototype, and now I'm rewriting it in a more
robust
manner in this PR:
https://github.com/bamboo/godot-s7-scheme/pull/1
Your advice is more than welcome!
On Mon, Nov 18, 2024 at 6:37 PM <bil at ccrma.stanford.edu> wrote:
> That's an interesting project! Let me know of any
> stumbling blocks. I notice you mention Geiser -- does
> it work with s7? I thought it was restricted to r6rs
> schemes, so I have ignored it up to now -- maybe I can
> help fill out the connections between s7 and geiser.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20241120/f052eb84/attachment.html>
More information about the Cmdist
mailing list