lispy icon indicating copy to clipboard operation
lispy copied to clipboard

Preserve order of nested method calls

Open grignaak opened this issue 13 years ago • 0 comments

This example code produces some unexpected output

    data = Lispy.new.to_data do
      hello do
        thank you
      end
    end

The given output is this: [[:hello, [], [[:you, []], [:thank, nil]]]] Unfortunately, the return value of you is not linked as a parameter of thank as would be expected in an AST.

grignaak avatar Jun 28 '11 00:06 grignaak