Ada4Hurd

Introduction

Ada4Hurd provides tools and examples to ease Ada development in Hurd. It is at an early stage.

ada2def

  • It is based on the ASIS standard
  • It analyse an Ada specification and generates some .defs file

def2ada

  • Using opentoken it analyse a .defs file
    • it can generate server skeleton
    • it can generate a client library for easy connection to the server

xmladafs

  • Mainly a translation of xmlfs in Ada
    • write capabilities development is undergoing
    • use xmlada

hello

  • Hello World example translated in Ada

netfs_base

Where to find the code

  • Ada4Hurd is a sourceforge based project
  • Mercurial is used as DVCS

    $ hg clone http://hg.code.sf.net/p/ada4hurd/code ada4hurd-code

Build the code

  • Install the build dependencies as root

    $ apt install gnat libopentoken4-dev libxmlada5-dev libasis2014-dev

  • Build

    $ cd ada4hurd-code $ make

  • Play with xmladafs

    $ make trans_on

  • Run netfs tests

    • In netfs_base directory

    $ make trans_dbg_on