Idorobots / spartan

A small Lisp dialect that serves me as a test bed for programming language features.
MIT License
13 stars 3 forks source link

Separate primops from &primops #199

Open Idorobots opened 2 months ago

Idorobots commented 2 months ago

The (primop-app 'cons 1 2) invocation is a regular primitive operation that makes perfect sense. The (primop-app '&yield-cont cont hole) on the other hand represents a generic pattern that ought to be compiled in a specific way at a later phase. These latter ones should be separated from primops proper.