From nobody@digitalkingdom.org Mon Jan 23 08:28:48 2006 Received: with ECARTIS (v1.0.0; list lojban-beginners); Mon, 23 Jan 2006 13:00:46 -0800 (PST) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.60) (envelope-from ) id 1F14Yi-0004Pq-Ef for lojban-beginners-real@lojban.org; Mon, 23 Jan 2006 08:28:48 -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 1F14Yd-0004PZ-LB; Mon, 23 Jan 2006 08:28:47 -0800 Received: from localhost ([127.0.0.1] helo=subvert-the-dominant-paradigm.net) by subvert-the-dominant-paradigm.net with esmtp (Exim 4.60) (envelope-from ) id 1F14YV-0000RE-EZ; Mon, 23 Jan 2006 16:28:35 +0000 Received: from 203.155.1.245 (proxying for 203.107.205.3) (SquirrelMail authenticated user jewel) by subvert-the-dominant-paradigm.net with HTTP; Mon, 23 Jan 2006 23:28:35 +0700 (ICT) Message-ID: <55715.203.155.1.245.1138033715.squirrel@subvert-the-dominant-paradigm.net> Date: Mon, 23 Jan 2006 23:28:35 +0700 (ICT) Subject: [lojban-beginners] Lojban parser and graph generator From: "John Leuner" To: lojban-beginners@lojban.org Cc: lojban-list@lojban.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: -2.6 (--) X-archive-position: 2999 X-Approved-By: jkominek@miranda.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 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.