cleaning, docs

This commit is contained in:
2020-02-12 15:41:16 +07:00
parent 3c762c4fe7
commit 0e3a8bb859
6 changed files with 60 additions and 14 deletions

View File

@ -59,7 +59,7 @@ module SlotLanguage
def test_shift
load = compile("word = name.member")
assert_equal LoadMaker , load.class
assert_equal :word , load.left.leaps.first
assert_equal :word , load.left.names.first
assert_equal SlotMaker , load.right.class
end
end

View File

@ -8,7 +8,7 @@ module SlotLanguage
@maker = SlotMaker.new(:hi )
end
def test_slot
@maker.slot_def(@compiler)
@maker.to_slot(@compiler)
end
end
end