From: Per Sandberg <per.s.sandberg@bahnhof.se>
Subject: Re: librdf - creating Ada bindings, and related projects
Date: Sat, 17 May 2014 08:56:57 +0200
Date: 2014-05-17T08:56:57+02:00 [thread overview]
Message-ID: <53770839$0$33987$862e30e2@ngroups.net> (raw)
In-Reply-To: <ll3i50$45t$1@speranza.aioe.org>
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
Then i think these files might be of intrest
/Per
On 16.05.2014 01:20, Victor Porton wrote:
> http://portonsoft.wordpress.com/2014/05/15/xml-namespaces-first-plan/
>
> First, I am going first to read the latest Ada specification to get the new
> language features and to refresh my memory about Ada.
>
> Then I am going to implement Ada bindings for librdf (a C library for
> XML/RDF).
>
> Then I am going to write my special proxy server (see the link above). It is
> REALLY special piece of software which will revolutionize the Web.
>
[-- Attachment #2: lrdf.gpr --]
[-- Type: text/plain, Size: 526 bytes --]
project Lrdf is
for Source_Dirs use ("src/**");
for Object_Dir use ".obj";
for Exec_Dir use "bin";
for Library_Name use "alrdf";
for Library_Dir use "lib";
for Library_Ali_Dir use "lib/ali";
package Compiler is
for Default_Switches ("ada") use ("-gnatwa", "-gnatf", "-gnatyaAbBcdfhiIklnOprtx", "-gnatQ", "-ffunction-sections", "-fdata-sections", "-fPIC", "-O2", "-gnato", "-gnat12");
end Compiler;
package Binder is
for Default_Switches ("ada") use ("-E");
end Binder;
end Lrdf;
[-- Attachment #3: lrdf.sed --]
[-- Type: text/plain, Size: 184 bytes --]
s-with sys_types_h;-with Interfaces.C.Extensions;-g
s-sys_types_h.int64_t-Interfaces.C.Extensions.Signed_64-g
# s-lrdf_types_h-LRDF.Low_Level.types-g
# s-lrdf_h-LRDF.Low_Level.api.-g
[-- Attachment #4: Makefile --]
[-- Type: text/plain, Size: 363 bytes --]
all:
${MAKE} generate
compile:
test:
clean:
generate:
rm -rf .gen ${CURDIR}/src/gen/*ad?
mkdir -p .gen ${CURDIR}/src/gen
echo "#include <lrdf.h>" >.gen/src.cpp
cd .gen; g++ -I /usr/include/raptor2 -c src.cpp -fdump-ada-spec
cd .gen; cat lrdf*| sed -f ${CURDIR}/lrdf.sed >src.ada
cd .gen; gnatchop src.ada ${CURDIR}/src/gen
gprbuild -P lrdf.gpr
install:
prev parent reply other threads:[~2014-05-17 6:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 23:20 librdf - creating Ada bindings, and related projects Victor Porton
2014-05-17 6:56 ` Per Sandberg [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox