From aae057cacceae415e6efed5e6dce7b072f3b792c Mon Sep 17 00:00:00 2001 From: Danilo Pedraza Date: Mon, 10 Feb 2025 19:25:24 -0500 Subject: [PATCH] #86 - more grammar rules --- report/report.typ | 107 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) diff --git a/report/report.typ b/report/report.typ index 8338d4e..921ceb0 100644 --- a/report/report.typ +++ b/report/report.typ @@ -1790,6 +1790,113 @@ Esta gramática no incluye información sobre precedencias de operadores, pero e Or[\ "=>" \ "," \][] }, ), + Prod( + [\], + { + Or[\ \][] + }, + ), + Prod( + [\], + { + Or["~"][] + Or["!"][] + Or["-"][] + } + ), + Prod( + [\], + { + Or[\ \ \][] + } + ), + Prod( + [\], + { + Or["in"][] + Or[".."][] + Or["||"][] + Or["&&"][] + Or[">"][] + Or[">="][] + Or["<"][] + Or["<="][] + Or["/="][] + Or["="][] + Or["^"][] + Or["&"][] + Or["<<"][] + Or[">>"][] + Or["-"][] + Or["+"][] + Or["/"][] + Or["%"][] + Or["\*"][] + Or["\*\*"][] + Or[":="][] + }, + ), + Prod( + [\], + { + Or["let" \ ":=" \][] + Or["let" \ ":=" \][] + Or["let" "memoize" \ ":=" \][] + Or["let" \ ":" \][] + Or["var" \ ":= \"][] + }, + ), + Prod( + [\], + { + Or[\][] + Or[\ \ \][] + Or[\ \ \][] + }, + ), + Prod( + [\], + { + Or[\][] + Or[\ \][] + Or[\ \ \][] + } + ), + Prod( + [\], + { + Or["import" \][] + Or["import" \ "as" \][] + Or["from" \ "import" \][] + Or["from" \ "import" \][] + }, + ), + Prod( + [\], + { + Or[\][] + Or[\][] + } + ), + Prod( + [\], + { + Or["(" \ ")"][] + }, + ), + Prod( + [\], + { + Or[\][] + Or[\ "," \][] + }, + ), + Prod( + [\], + { + Or["(" \ ")"][] + }, + ), ) }