engineer-man / piston

A high performance general purpose code execution engine.
https://emkc.org/run
MIT License
1.92k stars 240 forks source link

R5RS support? #208

Open Same4254 opened 3 years ago

Same4254 commented 3 years ago

Okay, I know this is a VERY specific request. However, I have a discord server for the CS people at the university we go to. One of the freshmen courses is in Scheme (specifically R5RS). It's a really simple and minimal interpreted language that I don't think will pose many security problems. If it isn't too bad, could you add support for this language? Let me know if you need any additional information.

realtux commented 3 years ago

could you let me know where i can get an r5rs interpreter/compiler/whatever it uses? if so, i can add it.

Same4254 commented 3 years ago

So DrRacket is where to go for this. It is a suite of interpreters for the scheme family: https://racket-lang.org/

In order to run R5RS (a specific version of scheme that we use) you want the plt-r5rs command and provide it a file. They outline that here:

https://docs.racket-lang.org/r5rs/running.html

Let me know if you need any other info! Thanks a bunch!!!