Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Bazaar » Very Simple Report Generator (Use QTF format)
Re: Very Simple Report Generator (Use QTF format) [message #24438 is a reply to message #24432] Sun, 17 January 2010 20:31 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 489
Registered: November 2008
Location: France
Senior Member
Hello all,

The reason why I used boost::spirit is for the parser.


Quote:

mhhh... parse vars that are all in form '##sometext' is quite easy and efficient with simple Upp code imho....

Although searching text inside a string is quite easy. Making a full featured parser is another thing.
If you want to be able to modify easily you're syntax, for changes or enhancements, boost::spirit is very very handy.
And managing nesting and sequencing was "immediate" while managing header/body/footer was trivial.

Quote:

The most important part is boost::spirit. Manual coding of parsers is quite inefficient and error-prone.

Thanks Novo Smile

Maybe for this simple parser it's like using a hammer to kill a bug, but the bug has no way to escape.

I love Upp but I don't think that all the rest is bad work, so why reinvent the wheel especially for such specific task as parsing ?
And besides that, most of the boost work is Upp compliant and could help Upp in many ways.

And finally it's much faster to do a parser, at least for me, using boost::spirit than hardcoding it from scratch.

If someone want's to write an Upp version of the parser: go for it, the boost part is completely isolated from the user view: all a user application needs is the ReportGenerator.h file ... where all is Upp.

Quote:

... Didn't look at code yet, anyways.

The code is not finished yet and needs some cleaning: file renaming, refactoring, ....


Quote:

I am not able to download this package on the external site.

Here it is Wink
But what browser are you using, the boost site works fine as well as the external download site Question


I will post an updated version with complete documentation as soon as possible
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BarCode128: string to image (Candidate for upload to Bazaar)
Next Topic: Simple INI parser (15 mb in 4 s, DualCore 2500 Mhz)
Goto Forum:
  


Current Time: Mon Jan 20 07:51:32 CET 2020

Total time taken to generate the page: 0.02801 seconds