A fork of Crisp for HARP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
191 B

  1. require "./src/crisp/interpreter"
  2. if ARGV.empty?
  3. begin
  4. Crisp::Interpreter.new.run
  5. rescue e
  6. puts e
  7. exit 1
  8. end
  9. else
  10. Crisp::Interpreter.new(ARGV[1..-1]).run(ARGV.first)
  11. end