From 0247a5d65d3884d810afa60f73ed473a7af6616f Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Thu, 23 Apr 2026 20:59:36 +0000 Subject: [PATCH 1/2] doc: remove old in tensor syntax from grammar --- book/src/llms.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/book/src/llms.txt b/book/src/llms.txt index ae45ca3..d6fd2ed 100644 --- a/book/src/llms.txt +++ b/book/src/llms.txt @@ -22,7 +22,6 @@ The grammar below summarizes the currently implemented DiffSL parser (based on d main = SOI model EOI model = inputs? tensor* -inputs = "in" "=" "[" name? ("," name)* ","? "]" tensor = name_ij "{" tensor_elmt? ("," tensor_elmt)* ","? "}" tensor_elmt = indices? (assignment | expression) From bcb2e0089d32f5eb36c89d3ed8e1ff0afdb93865 Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Thu, 23 Apr 2026 20:59:45 +0000 Subject: [PATCH 2/2] dd --- book/src/llms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/llms.txt b/book/src/llms.txt index d6fd2ed..74f5ef1 100644 --- a/book/src/llms.txt +++ b/book/src/llms.txt @@ -21,7 +21,7 @@ Grammar The grammar below summarizes the currently implemented DiffSL parser (based on ds_grammar.pest): main = SOI model EOI -model = inputs? tensor* +model = tensor* tensor = name_ij "{" tensor_elmt? ("," tensor_elmt)* ","? "}" tensor_elmt = indices? (assignment | expression)