comp.lang.ada
 help / color / mirror / Atom feed
* librdf - creating Ada bindings, and related projects
@ 2014-05-15 23:20 Victor Porton
  2014-05-17  6:56 ` Per Sandberg
  0 siblings, 1 reply; 2+ messages in thread
From: Victor Porton @ 2014-05-15 23:20 UTC (permalink / raw)


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.

-- 
Victor Porton - http://portonvictor.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: librdf - creating Ada bindings, and related projects
  2014-05-15 23:20 librdf - creating Ada bindings, and related projects Victor Porton
@ 2014-05-17  6:56 ` Per Sandberg
  0 siblings, 0 replies; 2+ messages in thread
From: Per Sandberg @ 2014-05-17  6:56 UTC (permalink / raw)


[-- 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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-17  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15 23:20 librdf - creating Ada bindings, and related projects Victor Porton
2014-05-17  6:56 ` Per Sandberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox