Adding a D backend to GNU Bison

Eduard Staniloiu edi33416 at gmail.com
Tue Jan 15 15:13:44 UTC 2019


Hello, everyone!

I'm posting this as a followup to the positive feedback that 
Andrei's Bison related post( 
https://forum.dlang.org/thread/1c3d8e77-ce4c-6310-0afd-e6518728299f@erdani.org) has received.

Akim Demaille has started "turning the wheels" towards adding a D 
backend to GNU Bison.

There currently is a skeleton for D on the Bison master 
(https://savannah.gnu.org/git/?group=bison) that you can use to 
check out the backend. A good starting point to explore this 
feature is to go into the .../share/doc/bison/examples/d 
directory and to run "make" there.

There is no documentation and Akim doesn't have experience with 
the D programming language, that is where we, the D community, 
can lend a helping hand.
I'm posting this to ask for your help in getting the D backend 
feature into Bison.

There is work needed to bring this skeleton up to speed and into 
an official release: writing tests and documentation, 
refactoring, etc.
Akim is going to provide assistance with the process, but he is 
not to be expected to carry this task on his own.

A good first step is to have a look at examples/d/calc.y and see 
if it can be improved.
 From there we should start improving the skeleton, fixing 
mistakes and writing documentation on the way.

I sincerely hope this opportunity will catch your interest.

Cheers,
Edi


More information about the Digitalmars-d mailing list