💾 Archived View for bbs.geminispace.org › s › Harelang › 17384 captured on 2024-07-09 at 02:23:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

➡️ Next capture (2024-08-18)

🚧 View Differences

-=-=-=-=-=-=-

Scheme interpreter in Hare

https://codeberg.org/nikita-popov/mice

Hi everyone!

I thought about how many different options for extending C applications we have - Lua, Scheme, etc. But Hare is a very young language and has not had time to acquire such things. So I started working on a Scheme interpreter in Hare. At the moment I'm at the very beginning of my journey. Also this is my first big project with Hare, so don't judge too harshly.

Right now I'm focusing on adding basic primitives and procedures to comply with R7RS-small. After thoroughly testing the implementation, I plan to work on several applications that will be extended through this implementation.

If you have experience with Hare (and even more so with Scheme), your advice would be very valuable to me.

I am in no way asking you to do my work for me. I just ask you to show me the right path if I took a wrong turn :3

#hare #harelang #scheme

Posted in: s/Harelang

🐙 pkitz

May 28 · 6 weeks ago

3 Comments ↓

🖥️ zetamacs · May 28 at 16:30:

Very good work! Clear and expressive.

Am I misreading, or is tail recursion not yet implemented?

🐙 pkitz [OP] · May 28 at 16:58:

@zetamacs Not yet, there is still a long way to go. I plan to go according to plan slowly but surely and regularly.

🖥️ zetamacs · May 30 at 17:34:

You're off to a great start! I'll be interested in seeing what the next iterations look like.