I couldn't easily find any info about the interpreter being available from the binary releases? Since this is from 2021, is it already available?
docker run --rm -it crystallang/crystal:1.4.1-alpine
/ # crystal i
Crystal was compiled without interpreter support
/ # crystal eval '3.times { |i| puts "Hello #{i}" }'
Hello 0
Hello 1
Hello 2
/ # crystal eval 'require "http/client"; puts HTTP::Client.get("https://news.ycombinator.com/").body.split("\n").first'
<html lang="en" op="news"><head><meta name="referrer" content="origin"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" type="text/css" href="news.css?E6T8vRgACsBJvJjCXAU8">
I tried the non-alpine package as well. No dice.