A fork of Crisp for HARP
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 

22 righe
332 B

module Mal
class ParseException < Exception
end
class EvalException < Exception
end
class RuntimeException < Exception
getter :thrown
def initialize(@thrown)
super()
end
end
end
def eval_error(msg)
raise Mal::EvalException.new msg
end
def parse_error(msg)
raise Mal::ParseException.new msg
end