[Nobug] Updated devel:benny2

Christian Thaeter ct at pipapo.org
Mon Aug 16 15:26:16 CEST 2010


On Mon, 16 Aug 2010 14:10:37 +0200
<benny.lyons at uniserv.com> wrote:

>  
> Hi, 
> > I was once thinking about this but abandoned the idea in favor of
> >simplicity (and one can copy/paste lines around without getting them
> >out of context).
> Ah! I suspected something like this.
> 
> >If you have a biggier text/examples you better put these into a
> >doc/<new_section>.txt file and add it to the configuration to be
> >included in the manual (i can do that too, then you can only provide
> >the texts). I'd favor only small reference texts mixed into the
> >source.
> Yes, header files is not the place for prolific text, is it?
> I think it's clear enough how to do add new texts (at least I hope
> so).
> 
> I've already started writing the tutorial, so I'll have to do that for
> the 
> tutorial. 
> The tutorial should be able to get someone up and started rather
> quickly, so
> lots of examples are needed.  I'm trying to figure out which features
> of NoBug
> are more important and present those, but it difficult deciding.

From what we use at Lumiera, the assertions and logging (including how
to use flags) followed by annotations are most important. Most of the
other things are not used or hidden behind the scenes.

I've added the resource tracker to the locking library, working on
getting some DUMP'ers in (only within the testsuite) and also aiming to
integrate the new fault-coverage checking. But all this is far less
important than the first ones mentioned. Invariants are planned but not
used yet, checked scopes are not used altogether (iirc).

Currently the test.sh stuff isn't well integrated in the documentation
for NoBug and it is rather some spin-off on its own. But we use that
extensively too (Test Driven Design). In the far future I plan to
integrate and extend this to make a bug-tracker obsolete, every bug is
then managed as test in the suite. Possibly with a snippet of code
showing this bug (good/bad case). Bugs need no extra maintenance then
when they get fixed the suite will report that, when they appear again
too ...

	Christian

> 
> 
> Benny 
> 
> -----Original Message-----
> From: nobug-bounces at lists.pipapo.org
> [mailto:nobug-bounces at lists.pipapo.org] On Behalf Of Christian Thaeter
> Sent: Monday, August 16, 2010 1:57 PM
> To: nobug at lists.pipapo.org
> Subject: Re: [Nobug] Updated devel:benny2
> 
> On Mon, 16 Aug 2010 13:36:44 +0200
> <benny.lyons at uniserv.com> wrote:
> 
> > Hi Christian, 
> > >Thanks, merged, simple text changes ...
> > Yea, little to do really as it was well writen in the first place.
> > 
> > That's good to update http://lumiera.org/nobug_manual.html as I
> > throw a gawk (ha, that's
> > a new British slang word for you!) in every day.  It's looking even
> > better all the time, even
> > the html format I'm begining to find easy to read.
> 
> I constantly update the .pdf along there too :)
> 
> > 
> > Simple question, but is there any (easy) way to configure/modify
> > pipadoc so that things
> > can be grouped?
> > I've noticed the sections in nobug.h in which eas line has to begin
> > with //<section_name>.
> > Writing this over multiple line looks a bit weird.  Wouldn't it be
> > nice, I thought, if 
> > you could do groups things, as in
> > 	//this_section {
> >       ...
> >       ...lots of lines here...
> >       }  // End this_section here.
> > or some other appropriate opening and closing groupping mechanism.
> > 
> > I'm sure it's possible, but is it difficult?  If it's just parsing
> > with awk, it shouldn't
> > be all that difficult?  Any ideas where approx I could look?
> 
> this would considerably complicate pipadoc, currently it is strictly
> line-based adding a block-mode would be a complete different beast:
> a lot more state, escaping rules, corner cases, side effects with
> the host language, different comment semantics (you can't
> nest /* */ in C) ....
> 
> I was once thinking about this but abandoned the idea in favor of
> simplicity (and one can copy/paste lines around without getting them
> out of context).
> 
> If you have a biggier text/examples you better put these into a
> doc/<new_section>.txt file and add it to the configuration to be
> included in the manual (i can do that too, then you can only provide
> the texts). I'd favor only small reference texts mixed into the
> source.
> 
> 	Christian
> 
> > 
> > Good look with the work.
> > 
> > Benny 
> > 
> > -----Original Message-----
> > From: nobug-bounces at lists.pipapo.org
> > [mailto:nobug-bounces at lists.pipapo.org] On Behalf Of Christian
> > Thaeter Sent: Monday, August 16, 2010 1:18 PM
> > To: nobug at lists.pipapo.org
> > Subject: Re: [Nobug] Updated devel:benny2
> > 
> > On Mon, 16 Aug 2010 08:14:06 +0200
> > <benny.lyons at uniserv.com> wrote:
> > 
> > > Morning, 
> > > My internet connection failed at the weekend, so I was only able
> > > to update
> > > to git.pipapo.org this morning.  Sorry I didn't make it by the
> > > deadline last night.
> > > 
> > > I've only reworked the documentation, so files in ./doc & nobug.h
> > > have been affected.
> > 
> > Thanks, merged, simple text changes should be mergeable for the next
> > time, well, some sentences have to be reworded for better
> > typesetting, lets see.
> > 
> > I made a small list whats to do for myself:
> > 
> > PDF documentation fixes
> >  * fix all warnings
> >  * index generation
> >  * glossar generation
> >  * typesetting, smaller font for examples?
> >  * footnotes (in tables?)
> >  * configureable attributes (latex-draft, openright, openany, fonts
> > etc) 
> > thats where i am now working on.
> > 
> > 	Christian
> > 
> > _______________________________________________
> > Nobug mailing list
> > Nobug at lists.pipapo.org
> > http://lists.pipapo.org/cgi-bin/mailman/listinfo/nobug
> _______________________________________________
> Nobug mailing list
> Nobug at lists.pipapo.org
> http://lists.pipapo.org/cgi-bin/mailman/listinfo/nobug


More information about the Nobug mailing list