From 9acee63d22d6f18c7e8b3bf8839be51d3ae803cc Mon Sep 17 00:00:00 2001 From: Jerome Date: Sun, 6 Apr 2025 14:29:12 +0200 Subject: [PATCH] parse-cmd: grammar.md --- grammar.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/grammar.md b/grammar.md index f9bae57..eb53219 100644 --- a/grammar.md +++ b/grammar.md @@ -6,7 +6,6 @@ and then || and && which share the same priority (priorization therefore occurs because of left associativity). ``` -{ LINE -> CMDS eol CMDS -> CMDS LIST_OP PIPELINE CMDS -> PIPELINE @@ -24,7 +23,6 @@ REDIR -> << word REDIR REDIR -> ε LIST_OP -> && LIST_OP -> || -} ``` @@ -34,7 +32,6 @@ The same priorities as the previous version except it is now LL(1) and therefore compatible with descending syntax analysisi (LL(1)). ``` -{ LINE -> CMDS eol CMDS -> PIPELINE OPT_CMDS OPT_CMDS -> LIST_OP PIPELINE OPT_CMDS @@ -54,5 +51,4 @@ REDIR -> << word REDIR REDIR -> ε LIST_OP -> && LIST_OP -> || -} ```