Gusarich / housify

Housify is an advanced programming language and compiler specifically designed for Hypixel Housing
MIT License
3 stars 0 forks source link

We don't need multiple houses in one module #48

Closed Gusarich closed 3 months ago

Gusarich commented 3 months ago

It's useless to have multiple houses defined in a single module. We should forbid defining multiple houses.

And if you ask why do we need the house keyword in this case - that's because we'll also have functions (#7) and constants (#47) apart from houses.

Gusarich commented 3 months ago

This also includes changing the syntax from house HouseName {} to house {} and change of some types, so I suggest moving it to 0.2.0

Gusarich commented 3 months ago

Actually after thinking more about it, I came to a conclusion that there's no sense to forbid multiple houses in one module and we actually don't have to remove the name specifier, so I'll just close this one.