Received: from mail-vc0-f189.google.com ([209.85.220.189]:38716) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1SpFhb-0004uk-9N; Thu, 12 Jul 2012 02:29:05 -0700 Received: by vcbfl10 with SMTP id fl10sf404733vcb.16 for ; Thu, 12 Jul 2012 02:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=QdRN32eSYbjk5zImV035oWHnVEzYYetWZUNuwjh4h+A=; b=yBeI0cEYHAXQGi19oEdRICKUV4/uAxodb0zgfY5ySf1V0c9dyR6YAxdloxXzODCP0K JvH5vGExvOUzyGmBcBPx5PbO6X6aUctb7nl/fAW0hBUXfVXFgEa9QYgFcR8yaSx7O+Ht o7+baXFw7z+3CIdFNGw5TEF1mgF48Dl+ntg5A= Received: by 10.52.174.167 with SMTP id bt7mr2648404vdc.15.1342085324677; Thu, 12 Jul 2012 02:28:44 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.52.71.2 with SMTP id q2ls878646vdu.7.gmail; Thu, 12 Jul 2012 02:28:43 -0700 (PDT) Received: by 10.52.179.69 with SMTP id de5mr41666647vdc.7.1342085323219; Thu, 12 Jul 2012 02:28:43 -0700 (PDT) Received: by 10.52.179.69 with SMTP id de5mr41666645vdc.7.1342085323196; Thu, 12 Jul 2012 02:28:43 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by gmr-mx.google.com with ESMTPS id y20si196925vdd.0.2012.07.12.02.28.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jul 2012 02:28:43 -0700 (PDT) Received-SPF: pass (google.com: domain of veijo.vilva@gmail.com designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by vcdd16 with SMTP id d16so1542310vcd.26 for ; Thu, 12 Jul 2012 02:28:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.155.2 with SMTP id q2mr24648819vcw.6.1342085322902; Thu, 12 Jul 2012 02:28:42 -0700 (PDT) Received: by 10.52.159.193 with HTTP; Thu, 12 Jul 2012 02:28:42 -0700 (PDT) In-Reply-To: <563d269c-680e-44f2-aaf4-5fa85ca3c744@googlegroups.com> References: <563d269c-680e-44f2-aaf4-5fa85ca3c744@googlegroups.com> Date: Thu, 12 Jul 2012 12:28:42 +0300 Message-ID: Subject: Re: [lojban] Re: LLLP Lojban parser, alpha 2 version From: Veijo Vilva To: lojban@googlegroups.com X-Original-Sender: veijo.vilva@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of veijo.vilva@gmail.com designates 209.85.220.181 as permitted sender) smtp.mail=veijo.vilva@gmail.com; dkim=pass header.i=@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary=f46d04389133ee0e7f04c49e96ff X-Spam-Score: -0.7 (/) X-Spam_score: -0.7 X-Spam_score_int: -6 X-Spam_bar: / --f46d04389133ee0e7f04c49e96ff Content-Type: text/plain; charset=ISO-8859-1 On 12 July 2012 02:34, xuinkrbin. wrote: Any chance of tossing it on github? > The whole parser thing has been in a constant flux of change, and I've felt putting it on a public site would have required too much effort documenting it at this stage. Besides, most people interested in it are on the Lojban list and know where to get it from just as easily. Are You okay if One of Us does puts it up there? > Well, if you really want to. Just label it *very* prominently as alpha quality only and not yet guaranteed to match the "official" version of the language. There is a newer program version on my site, something like alpha 9, with some more bugs removed and a few improvements like rafsi look-up, default parameter values defined in a separate file (lllp_params.lua) and within individual lojban file parameter settings. READ the defaults file and experiment with the settings to tailor the default output to your liking. Deviations from the default can be added even to individual text blocks in a lojban file - almost everything can be changed. There are no helpful error messages as the parser just stops at the last still grammatical position, which sometimes may be quite far from the actual error position. Unless the error is quite evident, a multi-sentence block can be split at every permissible ni'o and .i, i.e., at those which don't split a bracketed structure (the brackets can, of course, be commented out.) Problematic sentences can then be edited and parsed if necessary to pinpoint the error - either in the sentence or in the alpha quality parser. I'd like someone to provide either a lua 5.1.4 or luajit2 binary for Windows and Mac, and an lpeg.dll (I have also uploaded to my site a patched source for a luajit with built-in LPeg (luajit_lpeg.tgz), which avoids the need for the separate DLL. This source should compile on all the supported platforms, but I've been able to test it on linux only. The luajit source is newer than the latest published source version on the luajit site but not quite up to the latest GIT head.) NB. this parser is just an interim version as some of the present technical solutions within it prevent me from doing all the things I'd like to do with it. My experiments with "the mad proposals" have helped a lot in finding out the requirements for a flexible foundation which allows adding features relatively easily without wrecking the basic parser PEG. However, I'll now have to push the development aside for the rest of July and can most likely concentrate on it only after August 10. Comments, feature requests and (at this stage) error reports are welcome. I'll try to read mail daily even during the next few weeks devoted to non-lojban matters. mi'e veion -- web site: http://galactinus.net/vilva/ on Google+: https://plus.google.com/106533767817816079660/posts -- You received this message because you are subscribed to the Google Groups "lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en. --f46d04389133ee0e7f04c49e96ff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 12 July 2012 02:34, xuinkrbin. <frankdmartinez@= gmail.com> wrote:

Any chance of tossing it on github?

<= div>=A0The whole parser thing has been in a constant flux of change, and I&= #39;ve felt putting it on a public site would have required too much effort= documenting it at this stage. Besides, most people interested in it are on= the Lojban list and know where to get it from just as easily.

Are You okay if One of U= s does puts it up there?
=A0
Well, if you = really want to. Just label it *very* prominently as alpha quality only and = not yet guaranteed to match the "official" version of the languag= e. There is a newer program version on my site, something like alpha 9, wit= h some more bugs removed and a few improvements like rafsi look-up, default= parameter values defined in a separate file (lllp_params.lua) and within i= ndividual lojban file parameter settings. READ the defaults file and experi= ment with the settings to tailor the default output to your liking. Deviati= ons from the default can be added even to individual text blocks in a lojba= n file - almost everything can be changed.

There are no helpful error messages as the parser just = stops at the last still grammatical position, which sometimes may be quite = far from the actual error position. =A0Unless the error is =A0quite evident= , a multi-sentence block can be split at every permissible ni'o and .i,= i.e., at those which don't split a bracketed structure (the brackets c= an, of course, be commented out.) =A0Problematic sentences can then be edit= ed and parsed if necessary to pinpoint the error - either in the sentence o= r in the alpha quality parser.

I'd like someone to provide either a lua 5.1.4 or l= uajit2 binary for Windows and Mac, and an lpeg.dll (I have also uploaded to= my site a patched source for a luajit with built-in LPeg (luajit_lpeg.tgz)= , which avoids the need for the separate DLL. This source should compile on= all the supported platforms, but I've been able to test it on linux on= ly. The luajit source is newer than the latest published source version on = the luajit site but not quite up to the latest GIT head.)

NB. this parser is just an interim version as some of t= he present technical solutions within it prevent me from doing all the thin= gs I'd like to do with it. My experiments with "the mad proposals&= quot; have helped a lot in finding out the requirements for a flexible foun= dation which allows adding features relatively easily without wrecking the = basic parser PEG. =A0However, I'll now have to push the development asi= de for the rest of July and can most likely concentrate on it only after Au= gust 10.=A0

Comments, feature requests and (at this stage) error re= ports are welcome. I'll try to read mail daily even during the next few= weeks devoted to non-lojban matters.

=A0 mi'e= veion

--

--
You received this message because you are subscribed to the Google Groups "= lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegrou= ps.com.
For more options, visit this group at http://groups.google.com/group/lojban= ?hl=3Den.
--f46d04389133ee0e7f04c49e96ff--