Difference between revisions of "Sandbox"

From Liberty Eiffel Wiki
Jump to navigation Jump to search
 
(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> "Digit_sequence" {
+
<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 18: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}.
}

+%22Entity+Declaration+List%22+%7B+Entity_Declaration_List+%3D+%7B+Identifier+%7B+%22%2C%22%7D+%7D+%22%3A%22+%7BNewline%7D.+%7D+

Gargl

Hips and dips too!

~~ ~~

== Will this work?

Je


m'apelle Patrick

--- Test

Oh yes

bla bla

  • lulu
  • hop
  • morille

bla bla