Charles-Johnson / zia_programming

A language that can program itself
https://zia-lang.org
GNU General Public License v3.0
3 stars 0 forks source link

Use slotmap to index concepts #26

Closed Charles-Johnson closed 3 years ago

Charles-Johnson commented 3 years ago

This should be less error prone than using a Vec<Option<Concept>> because a key to the slotmap can only be constructed after inserting a concept