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

2024-05-28 · 8 months ago

3 Comments ↓

=> 🖥️ zetamacs · 2024-05-28 at 16:30:

Very good work! Clear and expressive.

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

=> 🐙 pkitz [OP] · 2024-05-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 · 2024-05-30 at 17:34:

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

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/Harelang/17384
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
75.041263 milliseconds
Gemini-to-HTML Time
0.697307 milliseconds

This content has been proxied by September (ba2dc).