After analyzing the failing tests and parser errors, I've identified several issues with interface method declarations and type handling. This document outlines a detailed plan to fix the parser to properly support interfaces.
-
Method Declaration Syntax: Parser fails to handle both dot notation (
Person.greet()
) and colon notation (Person:greet()
). -
Interface Method Signatures: Fails to parse method signatures like
greet() tea;
in interface definitions.