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

Struct Methods

sunjay opened this issue · comments

Depends on #39 before implementation.

Essentially enables the definition and use of methods on structs. The syntax is already supported for things like stdin and stdout.

  • Support implementation of these methods (impl)
  • Only allow one definition per method name (no overrides)
  • Static struct methods accessed via path (::) syntax (no self argument)