Difference between revisions of "Sandbox"

From Liberty Eiffel Wiki
Jump to navigation Jump to search
 
(13 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" {
  +
Entity Declaration List = {"identifier" {","} ":" "do" "Type"} ";" .
Digit_sequence = Digit+.
 
}
 
 
</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 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"} ";"  .

+%22Entity+Declaration+List%22+%7B+Entity+Declaration+List+%3D+%7B%22identifier%22+%7B%22%2C%22%7D+%22%3A%22+%22do%22+%22Type%22%7D+%22%3B%22+.+

Gargl

Hips and dips too!

~~ ~~

== Will this work?

Je


m'apelle Patrick

--- Test

Oh yes

bla bla

  • lulu
  • hop
  • morille

bla bla