From: Ferruccio Guidi Date: Mon, 4 Apr 2016 22:16:36 +0000 (+0000) Subject: EBNF definition of OSN begins ... X-Git-Tag: make_still_working~613 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=6b2413506392a9e62fdd8c560ab40d98ccc4ba08 EBNF definition of OSN begins ... --- diff --git a/helm/www/lambdadelta/css/ld_web.css b/helm/www/lambdadelta/css/ld_web.css index 16fc502df..a735efdac 100644 --- a/helm/www/lambdadelta/css/ld_web.css +++ b/helm/www/lambdadelta/css/ld_web.css @@ -68,11 +68,6 @@ span.emph { font-size: medium; } -span.date { - font-weight: bold; - font-size: medium; -} - /* tables *******************************************************************/ table { @@ -114,7 +109,7 @@ img.w3c { height: 32px; /* this should be 31px */ } -/* foreground colors (life cycle) *******************************************/ +/* foreground colors (life cycle, grammar) **********************************/ .delta { color:#500000; @@ -132,6 +127,10 @@ img.w3c { color:#000000; } +.ebnf { + color:#000080; +} + /* background colors ********************************************************/ .white { diff --git a/helm/www/lambdadelta/web/home/implementation.ldw.xml b/helm/www/lambdadelta/web/home/implementation.ldw.xml index 6d0237d98..229c5e88b 100644 --- a/helm/www/lambdadelta/web/home/implementation.ldw.xml +++ b/helm/www/lambdadelta/web/home/implementation.ldw.xml @@ -159,23 +159,50 @@ and contains the next tokens: - <symbol> a non-empty sequence of the 66 characters + - . 0..9 A..Z _ a..z - this sequence can represents the identifiers and the numerical constants of most programming languages + + + + + + + + + + + + this token can represent the identifiers and the numerical constants of most programming languages; - <string> a sequence of characters wrapped with the delimiter " + + + + + + + + every valid UTF-8 character whose code point is greater than U+001F is accepted eccept " \ the next commonly accepted escape sequences are recognized: \0 \a \b \t \n \v \f \r \e \" \\ morover, the escape sequences \x <two hexadecimal digits> and \u <four hexadecimal digits> allow to specify a character by its code point finally the escape sequences \( for U+0002 and \) for U+0003 are available - <qualifier> the character : + + + - <left> each of the characters ( < [ { - this token starts a compound symbolic expression + + + + + + this token starts a compound symbolic expression; - <right> each of the characters ) > ] } - this token ends a compound symbolic expression + + + + + + this token ends a compound symbolic expression; <ignored> each of the characters U+0009..U+000D U+0020 , ; = these characters are ignored and separate the other tokens diff --git a/helm/www/lambdadelta/xslt/ld_web.xsl b/helm/www/lambdadelta/xslt/ld_web.xsl index c5dc6b449..61c64b8fb 100644 --- a/helm/www/lambdadelta/xslt/ld_web.xsl +++ b/helm/www/lambdadelta/xslt/ld_web.xsl @@ -10,6 +10,7 @@ + diff --git a/helm/www/lambdadelta/xslt/ld_web_ebnf.xsl b/helm/www/lambdadelta/xslt/ld_web_ebnf.xsl new file mode 100644 index 000000000..5599defa6 --- /dev/null +++ b/helm/www/lambdadelta/xslt/ld_web_ebnf.xsl @@ -0,0 +1,76 @@ + + + + + + + + + + + + < + + > + + + + + = + + + + + " + + " + + + + + ' + + ' + + + + + | + + + + + ... + + + + + ( + + + + + ) + + + + + * + + + + + + + + + + + ; + + + +