From nobody@digitalkingdom.org Sun Feb 05 07:59:21 2006 Received: with ECARTIS (v1.0.0; list lojban-beginners); Sun, 05 Feb 2006 17:30:34 -0800 (PST) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.60) (envelope-from ) id 1F5mIL-0001EI-74 for lojban-beginners-real@lojban.org; Sun, 05 Feb 2006 07:59:21 -0800 Received: from subvert-the-dominant-paradigm.net ([206.123.113.154]) by chain.digitalkingdom.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1F5mIH-0001EB-TY for lojban-beginners@lojban.org; Sun, 05 Feb 2006 07:59:20 -0800 Received: from ppp-58.11.38.19.revip2.asianet.co.th ([58.11.38.19] helo=[10.0.0.50]) by subvert-the-dominant-paradigm.net with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1F5mIC-0000OH-N7 for lojban-beginners@lojban.org; Sun, 05 Feb 2006 15:59:13 +0000 Subject: [lojban-beginners] Re: Lojban parser and graph generator From: John Leuner To: lojban-beginners@lojban.org In-Reply-To: <55715.203.155.1.245.1138033715.squirrel@subvert-the-dominant-paradigm.net> References: <55715.203.155.1.245.1138033715.squirrel@subvert-the-dominant-paradigm.net> Content-Type: text/plain Date: Sun, 05 Feb 2006 23:02:05 +0700 Message-Id: <1139155325.11221.4.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-archive-position: 3044 X-Approved-By: rlpowell@digitalkingdom.org X-ecartis-version: Ecartis v1.0.0 Sender: lojban-beginners-bounce@lojban.org Errors-to: lojban-beginners-bounce@lojban.org X-original-sender: jewel@subvert-the-dominant-paradigm.net Precedence: bulk Reply-to: lojban-beginners@lojban.org X-list: lojban-beginners I have made some small updates to my lojban parser: http://subvert-the-dominant-paradigm.net:9072/generator You can now choose between a full parse tree and an edited one. It will also output an png or svg file. With Mozilla 1.5 you can also view inline svg. I'm not sure what should be in the edited parse tree, can anyone help me figure out which elements are the most important? I would also like to ask if there is a plan for standardising the lojban PEG grammar? It would be nice if we could create an official version and track changes made to it. At the moment I'm using the grammar as one file containing both the lojban grammar and morphology. I know some of the other lojban PEG utilities use the grammar in a different format, but maybe we can move towards a common source format? John Leuner On Mon, 2006-01-23 at 23:28 +0700, John Leuner wrote: > I have finished the first stage of a web front-end to my lojban parser. > > You can visit it here: > > http://subvert-the-dominant-paradigm.net:9072/generator > > and enter some lojban text. > > It uses my cl-peg package along with a lojban peg grammar based on the > work by Robin and xorxes (and I suppose some other people too). > > I process the output with the cl-dot package which feeds graphviz the > result of the parse process. The result is a graphical representation of > the parse nodes. > > As yet there are no options to trim down the tree, so you see the whole > morphological breakdown and all the intermediate labels. > > Future work is to allow the user to control how much detail is displayed, > as well as to lookup english glosses in wordlists and display them too. > > John Leuner > > Note: > > There are some bugs in the grammar, I noticed that "zo" doesn't work. I > haven't tested it thoroughly so I don't know what else doesn't work. > > > > >