Difference between revisions of "Sandbox"
Jump to navigation
Jump to search
Hzwakenberg (talk | contribs) |
Hzwakenberg (talk | contribs) |
||
(5 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" { |
− | + | Entity Declaration List = {"identifier" {","} ":" "do" "Type"} ";" . |
|
− | } |
||
</ebnf> |
</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 11:33, 14 December 2021
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" {","} ":" "do" "Type"} ";" .
Gargl
Hips and dips too!
~~ ~~
== Will this work?
Je
m'apelle Patrick
--- Test
Oh yes
bla bla
- lulu
- hop
- morille
bla bla