GetPoplog / Seed

Scripts for getting Poplog onto your Linux machine
MIT License
8 stars 3 forks source link

lib dict #111

Open sfkleach opened 3 years ago

sfkleach commented 3 years ago

This is draft pull request that introduces dict objects, which are tuples with named fields. This is an important feature in modern programming languages that Pop-11 will significantly benefit from. Poplog already has properties (see REF PROPS) but these are suitable for large hash-tables.

At the same time I introduce a low-level mechanism for closures with named fields (frozvals) rather than positionally indexed fields. This mechanism will be used in a future pull-request to add default-named arguments to Pop-11 in an elegant fashion.

TO DO: