Difference between revisions of "Sandbox"
Jump to navigation
Jump to search
Hzwakenberg (talk | contribs) |
Hzwakenberg (talk | contribs) |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
== generated Syntax diagrams == |
== generated Syntax diagrams == |
||
− | <ebnf> "simple" { |
||
− | literal = character { character }. |
||
− | } |
||
− | </ebnf> |
||
− | <ebnf> |
+ | <ebnf> |
+ | "Entity Declaration List" { |
||
− | Digit_sequence = Digit+. |
||
+ | Entity_Declaration_List = { Identifier { ","} } ":" {Newline}. |
||
} |
} |
||
</ebnf> |
</ebnf> |
||
− | |||
− | <ebnf> "digit" { |
||
− | Digit = ("0" |
||
− | "1" |
||
− | "2" |
||
− | "3" |
||
− | "4" |
||
− | "5" |
||
− | "6" |
||
− | "7" |
||
− | "8" |
||
− | "9" |
||
− | "a" |
||
− | "b" |
||
− | "c" |
||
− | "d" |
||
− | "e" |
||
− | "f" |
||
− | "A" |
||
− | "B" |
||
− | "C" |
||
− | "D" |
||
− | "E" |
||
− | "F" |
||
− | "_"}) |
||
− | } |
||
− | </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== |
Latest revision as of 17:22, 3 July 2024
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
"Entity Declaration List" { Entity_Declaration_List = { Identifier { ","} } ":" {Newline}. }
Gargl
Hips and dips too!
~~ ~~
== Will this work?
Je
m'apelle Patrick
--- Test
Oh yes
bla bla
- lulu
- hop
- morille
bla bla