[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement request: enabling Variant in C parsers

From: Hans Åberg
Subject: Re: Enhancement request: enabling Variant in C parsers
Date: Sun, 26 Aug 2018 10:32:42 +0200

> On 26 Aug 2018, at 07:22, Akim Demaille <address@hidden> wrote:
>> Le 25 août 2018 à 14:56, Hans Åberg <address@hidden> a écrit :
>> Then the example file could have comments like:
>> # Run calc++ <this file>
>> # Causes a deliberate error. Should report ...
>> The idea is that coming new to bison copies the calc++ directory, compiles 
>> it, sees there are some example files to run, and ready to start 
>> experimenting.
> The calculator is dumb: it expects a single expression, so
> there would be enough space to demonstrate all this.  And
> I want to keep it simple.
> The README should suffice, shouldn’t it?

I depends on where you want to take it. From earlier in the thread, it scares 
off some, though we did not get to know why, whereas I think it is a good 
starting point for showing off some Bison features.

Maybe simple is good for a start, and more advanced features in another example 
some time in the future.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]