From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fda5a12bddfaf1a7,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!usenet-fr.net!grolier!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: Matteo Bertini User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041214 Thunderbird/1.0 Mnenhy/0.7 X-Accept-Language: it, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Ada-Python inter-language testing X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Mon, 17 Jan 2005 12:21:33 GMT NNTP-Posting-Host: 151.37.78.241 X-Complaints-To: abuse@net24.it X-Trace: twister1.libero.it 1105964493 151.37.78.241 (Mon, 17 Jan 2005 13:21:33 MET) NNTP-Posting-Date: Mon, 17 Jan 2005 13:21:33 MET Organization: [Infostrada] Xref: g2news1.google.com comp.lang.ada:7863 Date: 2005-01-17T12:21:33+00:00 List-Id: I'm doing some coding for an Ada-Python bridge to decouple test-code from ada-code. The idea is: (A) Have some Ada code to test. (B) Write down an Ada package exporting procedures and functions in a C compatible way. (C) Write a Pyrex[1] (Python[2] like language for making C modules) bridge to access Ada exported procedures and functions. (D) Write unit-testing in Python, being free to add/remove/change test-cases without recompiling and with a lot of introspection features. Considering that the point (B) is error prone and time consuming, could ever someone in the real world need something like this? [1] http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/ [2] http://www.python.org Matteo Bertini