Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion technique.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ procedure_description := Paragraph+

Paragraph := Descriptive+ NEWLINE

Descriptive := ANY | code_inline | descriptive_binding
Descriptive := ANY | code_inline | descriptive_binding | cost_literal

code_inline := "{" Expression "}"

Expand All @@ -95,6 +95,8 @@ Expression :=
Application |
foreach_keyword |
repeat_keyword |
within_keyword |
cost_literal |
expression_binding |
list_structure |
tuple_literal
Expand All @@ -117,6 +119,10 @@ foreach_keyword := "foreach" identifiers "in" Expression

repeat_keyword := "repeat" Expression

within_keyword := "within" Expression

cost_literal := "$" "(" Expression ")"

expression_binding := Expression "~" identifiers

string_literal := "\"" string_content* "\""
Expand Down