[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [mizar] Question on Mizar grammar



Hi Michael,

you can get the xml file from the page
http://mmlquery.mizar.org/
or simply
http://mmlquery.mizar.org/mmlquery/mizar-grammar.xml
and
http://mmlquery.mizar.org/mmlquery/grammar2thtml.xsl
http://mmlquery.mizar.org/mmlquery/grammar.dtd


I think it should better be placed on wiki.mizar.org and then
ready for improvment. I will put it there.

Grzegorz

Quoting Michael Nedzelsky <MichaelNedzelsky@yandex.ru>:

Hi Josef,

At the end of http://www.mizar.org/language/syntax.html there is a string:
 Done with grammar2thtml.xsl

It seems that the syntax.html was built from some XML-file for Mizar grammar.
Is it XML-file still available anywhere?

May be this question must be addressed to Grzegorz Bancerek, though I hope he
use this mail list too. :)

looks like a bug, the grammar version at
http://mizar.org/language/pages/predicate-definition.html#predicate-definit
ion with Correctness-Conditions instead of [ "correctness" Justification ";"
] seems more correct.

The version was last modified: June 26, 2000 and seems more correct than
both http://www.mizar.org/language/syntax.html (February 10, 2005)
and syntax.txt (May 5, 2006).  Entropy process? :)

Why I am interested  in it:
 I have written a converter from syntax.txt to XML-file in order to get
better understanding Mizar grammar.

there is no automated (e.g. bison-like) connection between them and the
Mizar parser.

I thougt about using Elkhound (GLR parsing)
http://www.cs.berkeley.edu/~smcpeak/elkhound
or implementation GLR in OCaml
but for now my simple toy parser (in Ocaml) is coded by hand.

Michael Nedzelsky