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

Unify allocation instruction #56

Closed jmeaster30 closed 11 months ago

jmeaster30 commented 1 year ago

Make a single allocation instruction for allocating space for primitive types, arrays, and layouts

This will be the declaration instruction and having a unifying instruction will help with static analysis.

With this unification, remove the behavior of the store instruction that creates a variable if it doesn't exist.

jmeaster30 commented 11 months ago

Done :)