sunjay / brain

A high level programming language that compiles into the brainfuck esoteric programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Traits and Operator Overloading

sunjay opened this issue · comments

Currently, we fake traits in the compiler and just assume a bunch of stuff about every type. No custom types are allowed to decide which traits the fulfill.

  • Trait resolution
  • Defining new traits
  • Generic traits
  • Implementing traits for custom types
  • Traits for operators
  • Trait objects as function parameters
  • Static vs. dynamic dispatch