Re: [kde-community] msoscheme joining kde

2016-05-13 Thread Jaroslaw Staniek
On 13 May 2016 at 12:28, Jos van den Oever  wrote:

> On Friday 13 May 2016 01:25:48 Jaroslaw Staniek wrote:
> > ​+10
> >
> > We need more general-purpose projects like ​
> > ​that.​
>
> Cool. What's the next step to getting a project?
>
>
​Look if the 'msoscheme' name is general enough according to what you
(correctly) suggested. Maybe xml-something?

Then:
Get a git repo and phabricator project - sysadmin ticket.

Create a page on the community wiki.

​


-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
___
kde-community mailing list
kde-community@kde.org
https://mail.kde.org/mailman/listinfo/kde-community

Re: [kde-community] msoscheme joining kde

2016-05-13 Thread Jos van den Oever
On Friday 13 May 2016 01:25:48 Jaroslaw Staniek wrote:
> ​+10
> 
> We need more general-purpose projects like ​
> ​that.​

Cool. What's the next step to getting a project?

Cheers,
Jos

___
kde-community mailing list
kde-community@kde.org
https://mail.kde.org/mailman/listinfo/kde-community

Re: [kde-community] msoscheme joining kde

2016-05-12 Thread Jaroslaw Staniek
On 13 May 2016 at 00:28, Jos van den Oever  wrote:

> Hello all,
>
> Calligra relies on a project called MSOScheme. This project generates Java
> and
> C++ from an XML description of the Microsoft Office binary file formats.
>
> The project used to be on Gitorious. Gitorious closed and MSOScheme needs a
> new home.
>
> The code is not moving very fast and currently only Calligra uses it. The
> code
> only supports MS Office files, but it would be great to support more file
> formats.
>
> Writing XML instead of code for parsing and serializing has great
> advantages.
> You prevent many memory errors and can work on optimization without
> understanding all the separate file formats. This approach helped Calligra
> to
> have very fast MS Office parsers. At the time this was needed for running
> well
> on Nokia Maemo and Meego phones.
>
> As an example of the flexibility, there are 3 types of C++ generated. One
> that
> can parse with zero allocations, one that is a bit more easy to use but
> does
> use allocations and a third one that has full introspection on the parsed
> data
> and can output it as an XML tree for easy debugging or conversion with XML
> tools.
>
> https://gitorious.org/msoscheme/msoscheme.git/
>
> I believe the project could be useful for more than just Calligra. I'm
> writing
> a small demo to create a parser for tar files as a simple tutorial.
>
>
​+10

We need more general-purpose projects like ​
​that.​
And IMHO if there's a way to make (generate) a C++-only version of the tool
then even better.
Larger audience.

Best regards,
> Jos van den Oever
>
>
> ___
> kde-community mailing list
> kde-community@kde.org
> https://mail.kde.org/mailman/listinfo/kde-community




-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
___
kde-community mailing list
kde-community@kde.org
https://mail.kde.org/mailman/listinfo/kde-community

[kde-community] msoscheme joining kde

2016-05-12 Thread Jos van den Oever
Hello all,

Calligra relies on a project called MSOScheme. This project generates Java and 
C++ from an XML description of the Microsoft Office binary file formats.

The project used to be on Gitorious. Gitorious closed and MSOScheme needs a 
new home.

The code is not moving very fast and currently only Calligra uses it. The code 
only supports MS Office files, but it would be great to support more file 
formats. 

Writing XML instead of code for parsing and serializing has great advantages. 
You prevent many memory errors and can work on optimization without 
understanding all the separate file formats. This approach helped Calligra to 
have very fast MS Office parsers. At the time this was needed for running well 
on Nokia Maemo and Meego phones.

As an example of the flexibility, there are 3 types of C++ generated. One that 
can parse with zero allocations, one that is a bit more easy to use but does 
use allocations and a third one that has full introspection on the parsed data 
and can output it as an XML tree for easy debugging or conversion with XML 
tools.

https://gitorious.org/msoscheme/msoscheme.git/

I believe the project could be useful for more than just Calligra. I'm writing 
a small demo to create a parser for tar files as a simple tutorial.

Best regards,
Jos van den Oever


___
kde-community mailing list
kde-community@kde.org
https://mail.kde.org/mailman/listinfo/kde-community