replaces remnant proc run() with RplProgram

This commit is contained in:
Gwenhael Le Moine 2022-08-31 12:21:14 +02:00
parent 7a5e3bf262
commit 409ed653f2
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -27,9 +27,7 @@ module RplLang
@dictionary.add_word( ['drop2'], @dictionary.add_word( ['drop2'],
category, category,
'( a b -- ) drop first two stack elements', '( a b -- ) drop first two stack elements',
proc do Types.new_object( RplProgram, '« 2 dropn »' ) )
run( '2 dropn' )
end )
@dictionary.add_word( ['dropn'], @dictionary.add_word( ['dropn'],
category, category,