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

Object Pass #109

Open jmeaster30 opened 4 months ago

jmeaster30 commented 4 months ago

Create the object pass of the semantic analysis phase.

This will go through all of the packs, interfaces, and unions

jmeaster30 commented 1 month ago

splitting into 2 passes. One for the declarations and one for the actual bodies of the objects.

This split allows me to hoist the declarations so all objects on the same scope level can use each other and objects can use themselves recursively