Opened 13 years ago
Closed 8 years ago
#957 closed enhancement (duplicate)
crunch: multi-arg primitives could be simulated via syntax
| Reported by: | felix winkelmann | Owned by: | felix winkelmann |
|---|---|---|---|
| Priority: | minor | Milestone: | someday |
| Component: | extensions | Version: | 4.8.x |
| Keywords: | crunch | Cc: | |
| Estimated difficulty: | medium |
Description
By defining primitives as syntax that would normally accept optional or rest arguments (like "*"), multi-argument signatures could be made possible in most cases. So, for example, (* a b c) could expand into a (nested) call to some 2-arity multiplication primitive.
Change History (3)
comment:1 Changed 8 years ago by
| Estimated difficulty: | → medium |
|---|
comment:2 Changed 8 years ago by
Crunch uses a different expander. I'm not even sure if crunch works as is in 5.0. Let's leave this for a moment.
comment:3 Changed 8 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

A similar patch has just been submitted to -hackers for CHICKEN 5. I don't know if this can be used by crunch though.