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

Turn operators into call nodes instead of keeping them as binary operators #108

Closed jmeaster30 closed 4 months ago

jmeaster30 commented 4 months ago

If we unify everything into a function call ast node then type checking will just be checking calls.

We can define everything in these functions since we have a Hydro macro.

Should we have default packages imported in every program? I am not sure honestly I may try without a default and then just have no default operators (except "." since I think that would be necessary).

jmeaster30 commented 4 months ago

I don't want to deal with this actually