Difference between revisions of "Sandbox"
Jump to navigation
Jump to search
Hzwakenberg (talk | contribs) |
(removed EBNF in it self example and added some options for new export list) |
||
(14 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
== generated Syntax diagrams == |
== generated Syntax diagrams == |
||
− | <ebnf> " |
+ | <ebnf> "test" { |
− | + | test = ( loop ). |
|
+ | }</ebnf> |
||
+ | |||
+ | |||
+ | <ebnf> "New_export_item1" { |
||
+ | new_export_item = clients ( "all" | feature_name_list ) . |
||
+ | feature_name_list = feature_name_list { "," feature_name }. |
||
} |
} |
||
</ebnf> |
</ebnf> |
||
+ | |||
− | <ebnf> "Digit_sequence" { |
||
+ | <ebnf> "New_export_item2" { |
||
− | Digit+ |
||
+ | new_export_item = ( clients "all" ) | ( clients feature_name_list ) . |
||
+ | feature_name_list = feature_name_list { "," feature_name }. |
||
} |
} |
||
</ebnf> |
</ebnf> |
||
− | <ebnf> " |
+ | <ebnf> "New_export_item3" { |
+ | new_export_item = ( clients "all" ) | ( clients feature_name {"," feature_name} ) . |
||
− | "0" |
||
− | "1" |
||
− | "2" |
||
− | "3" |
||
− | "4" |
||
− | "5" |
||
− | "6" |
||
− | "7" |
||
− | "8" |
||
− | "9" |
||
− | "a" |
||
− | "b" |
||
− | "c" |
||
− | "d" |
||
− | "e" |
||
− | "f" |
||
− | "A" |
||
− | "B" |
||
− | "C" |
||
− | "D" |
||
− | "E" |
||
− | "F" |
||
− | "_" |
||
} |
} |
||
</ebnf> |
</ebnf> |
||
+ | <ebnf> "New_export_item4" { |
||
− | |||
+ | New_export_item = clients [ "all" | feature_name { "," feature_name } ] . |
||
+ | } |
||
+ | </ebnf> |
||
<ebnf>"Free_Operator" { Free_Operator = ( "+" | "-" | "*" | "/" | "\" | "=" | "<" | ">" | "@" | "#" | "|" | "&" | "~") { Free_Operator }.}</ebnf> |
<ebnf>"Free_Operator" { Free_Operator = ( "+" | "-" | "*" | "/" | "\" | "=" | "<" | ">" | "@" | "#" | "|" | "&" | "~") { Free_Operator }.}</ebnf> |
||
− | <ebnf> "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 } '"' . |
||
− | }</ebnf> |
||
==Gargl== |
==Gargl== |
Revision as of 21:23, 9 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
"test" { test = ( loop ). }
"New_export_item1" { new_export_item = clients ( "all" | feature_name_list ) . feature_name_list = feature_name_list { "," feature_name }. }
"New_export_item2" { new_export_item = ( clients "all" ) | ( clients feature_name_list ) . feature_name_list = feature_name_list { "," feature_name }. }
"New_export_item3" { new_export_item = ( clients "all" ) | ( clients feature_name {"," feature_name} ) . }
"New_export_item4" { New_export_item = clients [ "all" | feature_name { "," feature_name } ] . }
"Free_Operator" { Free_Operator = ( "+" | "-" | "*" | "/" | "\" | "=" | "<" | ">" | "@" | "#" | "|" | "&" | "~") { Free_Operator }.}
Gargl
Hips and dips too!
~~ ~~
== Will this work?
Je
m'apelle Patrick
--- Test
Oh yes
bla bla
- lulu
- hop
- morille
bla bla