jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

Add hash array literals #26

Closed jmeaster30 closed 11 months ago

jmeaster30 commented 1 year ago

currently you can only make a regular array literal but we need the ability to add hash array literals (arrays that have an index type that is not unsigned integers)

Syntax Idea :

let hash: i32[string] = [
    "test": 123, 
    "another": 555
]
jmeaster30 commented 11 months ago

closing obsolete ocean issues