src/rlisp.rb
# Expand macros once, non-recursively
Expand macros once, non-recursively
Expand macros once non - recursively
def macroexpand_1(expr)
    return expr unless expr.is_a?(Array) and expr != []
    return @macros[expr[0]].call(*expr[1..-1]) if @macros[expr[0]]
    return expr
  end
def macroexpand_1 ( expr ) return expr unless expr . is_a? ( Array ) and expr != [ ] return @macros [ expr [ 0 ] ] . call ( * expr [ 1 .. - 1 ] ) if @macros [ expr [ 0 ] ] return expr end
Expand macros once, non-recursively
Expand macros once non - recursively
expr
<not_specific>