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

Need type parameters for types and interfaces #102

Closed jmeaster30 closed 6 months ago

jmeaster30 commented 6 months ago

Want to have generic packs that implement interfaces such as"

interface MyInterface {
     function bark()
}

pack MyPack(auto MyCoolTypeParameter) : MyInterface
{
    woah: MyCoolTypeParameter
}
jmeaster30 commented 6 months ago

Added parameterized types. Still need to have interfaces

jmeaster30 commented 6 months ago

Finished interfaces