hpi-swa / RSqueak

A Squeak/Smalltalk VM written in RPython.
BSD 3-Clause "New" or "Revised" License
84 stars 15 forks source link

Improve primitive argcount handling, by using decorators to compose per argcount #18

Open timfel opened 9 years ago

timfel commented 9 years ago

We already have decorators now for alternative unwrap_specs, but these all need to have the same number of arguments. We'd like something similar for primitives that can take different numbers of arguments

fniephaus commented 8 years ago

Hasn't this already been implemented?

krono commented 8 years ago

Nope: https://github.com/HPI-SWA-Lab/RSqueak/blob/master/rsqueakvm/primitives/__init__.py#L41