argumentcomputer / lurk

Lurk is a Turing-complete programming language for zk-SNARKs. It is a statically scoped dialect of Lisp, influenced by Scheme and Common Lisp.
https://docs.argument.xyz
MIT License
47 stars 3 forks source link

feat: Add support for `&rest` parameters and `apply` as a built-in #301

Closed wwared closed 1 month ago

wwared commented 2 months ago

This PR adds:

There is some unfortunate code duplication in apply, but this solution is better (in terms of columns and code complexity) for now. We might be able to simplify the duplication out in the future.

Manual update: https://github.com/argumentcomputer/user-manual/pull/24