#!/usr/bin/env ruby require "lasp" Lasp::load_stdlib! trap("SIGINT") { puts "\n\nBye!"; exit! } puts "((( Läsp v#{Lasp::VERSION} REPL )))\n\n" loop do begin print "lasp> " result = Lasp::execute(gets.chomp) puts " =>> #{result.inspect}" rescue puts " **> #{$!}" end end