From ca6d83636180dd829c2a4d4c332b11de9c32f5a0 Mon Sep 17 00:00:00 2001 From: Funky Waddle Date: Mon, 24 Nov 2025 22:32:13 -0600 Subject: [PATCH] Remove half-baked support for generics. Will get back to this later. --- grammar/declarations/type_declarations.bnf | 9 +++++---- grammar/interfaces/interface_definitions.bnf | 4 ---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/grammar/declarations/type_declarations.bnf b/grammar/declarations/type_declarations.bnf index 8b8a855..49a9d81 100644 --- a/grammar/declarations/type_declarations.bnf +++ b/grammar/declarations/type_declarations.bnf @@ -1,5 +1,4 @@ - ::= - ["/" ]? + ::= ["->" ]? "{" "}" @@ -9,9 +8,11 @@ | | )* - ::= "extends" + ::= [ "/"]? - ::= "<" ">" + ::= + + ::= ::= ("," )* diff --git a/grammar/interfaces/interface_definitions.bnf b/grammar/interfaces/interface_definitions.bnf index 6e42c06..884c607 100644 --- a/grammar/interfaces/interface_definitions.bnf +++ b/grammar/interfaces/interface_definitions.bnf @@ -12,10 +12,6 @@ ::= "fn" - ::= - "@" "<" ">" - "{" "}" - ::= "@" "extends" "{" "}"