danilopedraza / symstatic

The Symstatic programming language code repository
https://symstatic.org/book
GNU General Public License v3.0
2 stars 0 forks source link

Set implementation #37

Closed danilopedraza closed 1 month ago

danilopedraza commented 1 month ago

Right now, sets are implemented as lists. I'm thinking of implementing them as HashSets. The Rust standard library has that data structure already. The main issue is that every Symstatic object must be hashable, which means that ASTNodes must be hashable.

danilopedraza commented 1 month ago

Done.