From: Ludovic Brenta on
Simon Clubley wrote on comp.lang.ada:
> I would love to find an open source equivalent of the forms and ISAM
> toolkits which could be called from Ada.

For the forms toolkit, I'd start with TextTools[1]. It may not be
complete enough but certainly provides a starting point.

For ISAM, it depends on whether you need support for a specific binary
file format or if you are content with equivalent functionality.

If binary compatibility doesn't matter, I'd suggest writing an Ada
binding to Berkeley DB[2] or using the existing GNADE[3] binding to
SQLite[4]. The former is faster because it uses no SQL parser. The
latter is more structured, thanks to SQL. In both cases, the file
format will stand the test of time; that's the main benefit of free
software.

[1] http://www.pegasoft.ca/tt.html
[2] http://www.oracle.com/technology/products/berkeley-db/db/index.html
[3] http://gnade.sourceforge.net/
[4] http://sqlite.org/

(Berkeley DB, SQLite, GNADE and TextTools are all pre-packaged and
ready to use in Debian).

--
Ludovic Brenta.
From: Isaac Gouy on
On Feb 13, 2:04 pm, Hibou57 (Yannick Duchêne)
<yannick_duch...(a)yahoo.fr> wrote:
> Hello once again,
>
> Here is a new quote about Ada, in another interesting context (no more LP  
> this time) :http://gmarceau.qc.ca/blog/2009/05/speed-size-and-dependability-of.html

-snip-
> The interesting context, is that this comment was one after an article  
> containing interesting graphic charts comparing some measurable language  
> characteristics. Unfortunately, Ada is not part of any of these charts,  
> but there is this comment, and the charts which may be nice for your own  
> knowledge anyway.

That is not correct - look again and you'll see charts labelled "Ada
2005 GNAT" on the page you linked.


Also see -

http://shootout.alioth.debian.org/u64q/code-used-time-used-shapes.php

http://shootout.alioth.debian.org/u32q/code-used-time-used-shapes.php

etc
From: Hibou57 (Yannick Duchêne) on
Le Mon, 15 Feb 2010 14:50:35 +0100, Simon Clubley
<clubley(a)remove_me.eisner.decus.org-earth.ufp> a écrit:
> The forms toolkit is actually quite advanced given it's character cell
> requirements, containing the ability to define a form in terms of fields
> containing different types of data (alpha, numeric, dates, etc) and
> containing support for callback routines for custom field level
> validation.
>
> I would love to find an open source equivalent of the forms and ISAM
> toolkits which could be called from Ada.
Does this toolkit comes with formally and cleanly documented
specifications ?

--
No-no, this isn't an oops ...or I hope (TM) - Don't blame me... I'm just
not lucky
From: Simon Clubley on
On 2010-02-15, Ludovic Brenta <ludovic(a)ludovic-brenta.org> wrote:
> Simon Clubley wrote on comp.lang.ada:
>> I would love to find an open source equivalent of the forms and ISAM
>> toolkits which could be called from Ada.
>
> For the forms toolkit, I'd start with TextTools[1]. It may not be
> complete enough but certainly provides a starting point.
>

Thanks for the pointer; I didn't know this toolkit existed.

You are correct that it's not functional enough to replace the Synergex
forms toolkit, but I am going to look at it anyway sometime over the next
few weeks to see what it is capable of.

> For ISAM, it depends on whether you need support for a specific binary
> file format or if you are content with equivalent functionality.
>
> If binary compatibility doesn't matter, I'd suggest writing an Ada
> binding to Berkeley DB[2] or using the existing GNADE[3] binding to
> SQLite[4]. The former is faster because it uses no SQL parser. The
> latter is more structured, thanks to SQL. In both cases, the file
> format will stand the test of time; that's the main benefit of free
> software.
>

Binary compatibility does not matter.

The Berkeley DB library seems to have had a serious reworking since
I last looked at it and dismissed it, so I will have a look at that
as well.

Thanks for the pointers,

Simon.

--
Simon Clubley, clubley(a)remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980's technology to a 21st century world
From: Simon Clubley on
On 2010-02-15, Hibou57 <yannick_duchene(a)yahoo.fr> wrote:
> Le Mon, 15 Feb 2010 14:50:35 +0100, Simon Clubley
><clubley(a)remove_me.eisner.decus.org-earth.ufp> a �crit:
>> The forms toolkit is actually quite advanced given it's character cell
>> requirements, containing the ability to define a form in terms of fields
>> containing different types of data (alpha, numeric, dates, etc) and
>> containing support for callback routines for custom field level
>> validation.
>>
>> I would love to find an open source equivalent of the forms and ISAM
>> toolkits which could be called from Ada.
> Does this toolkit comes with formally and cleanly documented
> specifications ?
>

No.

The forms toolkit is heavily documented at API level in Synergex supplied
documentation, but that documentation is not freely available online and
is only supplied as part of a purchase so for various reasons making that
documentation available online is absolutely _NOT_ a viable option. Sorry.

Also, this documentation details how to use the library, but it's not
a design document.

The ISAM library implements a multiple and segmented key ISAM file
structure. Once again, the documentation is about using it, not about how
it's implemented internally.

Simon.

--
Simon Clubley, clubley(a)remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980's technology to a 21st century world