nukata/little-scheme-in-crystal
View on GitHub ↗ ★ 4 Crystal
A Scheme interpreter in Crystal with first-class continuations
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2020-03-31 · latest 2020-11-06
20082026
-
…(and typed) Ruby interpreter, in a sense. [1] https://github.com/nukata/little-scheme-in-ruby [2] https://github.com/nukata/little-scheme-in-crystal [3] https://github.com/nukata/little-scheme#performance
comment by suzuki · 2020-11-06 · in Switch from Ruby to Crystal -
…j.car j = j.cdr end while Cell === j j.nil? or raise ImproperListException, j end end # Cell and https://github.com/nukata/little-scheme-in-crystal/blob/v0.2... # Cons cell class Cell < Obj include Enumerable(Val) getter car : Val # Head…
comment by suzuki · 2020-06-06 · in Ruby vs. Crystal Performance -
I have just updated my Scheme interpreter in Crystal ( https://github.com/nukata/little-scheme-in-crystal ), which I used on the above benchmark test, along to Crystal 0.34. The release notes of Crystal 0.34 say "Having as much as possible…
comment by suzuki · 2020-04-08 · in Crystal 0.34 -
In my experiment, the Crystal version ( https://github.com/nukata/little-scheme-in-crystal ) was 38x faster than the Ruby version ( https://github.com/nukata/little-scheme-in-ruby ) and comparable to the Java version (…
comment by suzuki · 2020-03-31 · in Towards Crystal 1.0