🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.caml
Article #84

Re: lua ocamlyacc grammar

#84
From: Max Mouratov
Date: Tue, 16 Oct 2012 12:16
18 lines
1757 bytes
On Sunday, October 7, 2012 2:08:40 AM UTC+6, jdn wrote:
> Hi all,
> 
> 
> 
> Does anyone have a lua parser (ocamllex/ocamlyacc) that they would be willing to share or know of one that a Google search didn't turn up? 
> 
> 
> 
> Many thanks,
> 
> Jason

Hello, Jason.

Take a look at the lua-ml interpreter by sir Norman Ramsey: https://github.com/lindig/lua-ml. It has an ocamlyacc-based parser.

An interesting thing to note about lua-ml is that it's a literate program, which might be fun to read and hack on. Cheers.
Technical Details
Message-ID: <6672a86f-3bda-40a3-bbd8-3330ef1e6f47@googlegroups.com>
Path: arc1-ca.pugleaf.net!s9ni11397pbb.0!nntp.google.com!kt20no1115044pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <44bc9117-1519-405f-bbe9-00a96fa25905@googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff861,c4a0e44b1b75e085
X-Google-NewGroupId: yes
X-Google-Attributes: gidc0fe4b917e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.66.89.65 with SMTP id bm1mr3525461pab.34.1350389792255;
        Tue, 16 Oct 2012 05:16:32 -0700 (PDT)
Received: by 10.52.91.168 with SMTP id cf8mr2207343vdb.6.1350389791885; Tue,
 16 Oct 2012 05:16:31 -0700 (PDT)
Path: arc1-ca.pugleaf.net!s9ni11397pbb.0!nntp.google.com!kt20no1115044pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: fa.caml
Date: Tue, 16 Oct 2012 05:16:31 -0700 (PDT)
In-Reply-To: <44bc9117-1519-405f-bbe9-00a96fa25905@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.189.141.84;
 posting-account=h84scwoAAAA2_-2coYpAD4AwzeBGHYEz
NNTP-Posting-Host: 89.189.141.84
References: <44bc9117-1519-405f-bbe9-00a96fa25905@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6672a86f-3bda-40a3-bbd8-3330ef1e6f47@googlegroups.com>
Subject: Re: lua ocamlyacc grammar
From: Max Mouratov <mmouratov@gmail.com>
Injection-Date: Tue, 16 Oct 2012 12:16:32 +0000
Content-Type: text/plain; charset=ISO-8859-1