Initial map implementation.

Still lots of methods missing and clean up and tests to do.
Also still no literal syntax.

But the core hash table code is there and working. The supported
key types are all, uh, supported.
This commit is contained in:
Bob Nystrom
2015-01-24 22:27:35 -08:00
parent cff08f989b
commit abe80e6d4b
11 changed files with 541 additions and 54 deletions
+5
View File
@@ -88,4 +88,9 @@ class List is Sequence {
}
}
class Map {
// TODO: Implement this.
toString { "{}" }
}
class Range is Sequence {}