ecraven / r7rs-benchmarks

Benchmarks for various Scheme implementations. Taken with kind permission from the Larceny project, based on the Gabriel and Gambit benchmarks.
271 stars 32 forks source link

Use #lang r7rs for the Racket prelude #1

Closed lexi-lambda closed 8 years ago

lexi-lambda commented 8 years ago

This changes the Racket prelude to use #lang r7rs, which appears to be able to run all the benchmarks without errors (except for one—mentioned below). However, there are some important caveats:

Maybe just give it a try and see if it works to your liking? I figured I’d at least put this pull request together to show you what it would look like (since it’s so straightforward, anyway).

ecraven commented 8 years ago

Thanks, looks good, merging :) The 4-handed if is my fault, I was fixing one-handed ifs to when/unless, and probably broke this one.