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) |
||
| Line 14: | Line 14: | ||
| + | <ebnf> "New_export_item1" { |
||
| + | new_export_item = clients ( "all" | feature_name_list ) . |
||
| + | feature_name_list = feature_name_list { "," feature_name }. |
||
| + | } |
||
| + | </ebnf> |
||
| − | <ebnf> " |
+ | <ebnf> "New_export_item2" { |
| − | + | new_export_item = ( clients "all" ) | ( clients feature_name_list ) . |
|
| + | feature_name_list = feature_name_list { "," feature_name }. |
||
} |
} |
||
</ebnf> |
</ebnf> |
||
| + | <ebnf> "New_export_item3" { |
||
| + | new_export_item = ( clients "all" ) | ( clients feature_name {"," feature_name} ) . |
||
| + | } |
||
| + | </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 20: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