Difference between revisions of "Sandbox"
Jump to navigation
Jump to search
Hzwakenberg (talk | contribs) |
Hzwakenberg (talk | contribs) |
||
Line 9: | Line 9: | ||
== generated Syntax diagrams == |
== generated Syntax diagrams == |
||
− | <ebnf> " |
+ | <ebnf> "Binary operator" { |
+ | Binary_operator = ( ("+"|"-"|"*"|"/"|"//"|"\\") | |
||
− | literal = character { character }. |
||
+ | ("<"|">"|"<="|">=") | |
||
− | } |
||
+ | ("and"|"or"|"xor") | |
||
− | </ebnf> |
||
+ | "external_string" Manifest_string "Alias" Manifest_string ). |
||
+ | }</ebnf> |
||
+ | |||
+ | |||
+ | |||
<ebnf> "New_export_item" { |
<ebnf> "New_export_item" { |
Revision as of 23:40, 5 November 2014
Welcome to the LibertyEiffelWiki Sandbox! This page is for editing experiments. Feel free to try your skills at formatting here.
Hi there !
generated Syntax diagrams
"Binary operator" { Binary_operator = ( ("+"|"-"|"*"|"/"|"//"|"\\") | ("<"|">"|"<="|">=") | ("and"|"or"|"xor") | "external_string" Manifest_string "Alias" Manifest_string ). }
"New_export_item" { New_export_item = clients [ ("all" | { feature_name | ","} ) ] . }
"Free_Operator" { Free_Operator = ( "+" | "-" | "*" | "/" | "\" | "=" | "<" | ">" | "@" | "#" | "|" | "&" | "~") { Free_Operator }.}
"EBNF defined in itself" { syntax = [ title ] "{" { production } "}" [ comment ]. production = identifier "=" expression ( "." | ";" ) . expression = term { "|" term } . term = factor { factor } . factor = identifier | literal | "[" expression "]" | "(" expression ")" | "{" expression "}" . identifier = character { character } . title = literal . comment = literal . literal = "'" character { character } "'" | '"' character { character } '"' . }
Gargl
Hips and dips too!
~~ ~~
== Will this work?
Je
m'apelle Patrick
--- Test
Oh yes
bla bla
- lulu
- hop
- morille
bla bla