• Stars
    star
    9
  • Rank 1,939,727 (Top 39 %)
  • Language
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ada-tailored UML Modeling Language

Quick Introduction

AdaML Diagram

This AdaML diagram describes AdaML itself, including relationships between PlatUML, UML and Ada packages. This diagram has been generated, in turn, with AdaML. See below the AdaML source code.

AdaML Source Code   — click to expand —
!include https://raw.github.com/rocher/AdaML/release/0.1.2/AdaML.puml
scale 600 width

package("AdaML") package("PlantUML") package("Ada") package("UML")

owns("AdaML", "PlantUML") depends("AdaML", "Ada", "tailored") depends("AdaML", "UML", "draws")

note("AdaML draws Ada-tailored\nUML diagrams based on\nPlantUML")

left_right("PlantUML", "UML") left_right("UML", "Ada")

Doc

For more information and examples, download AdaML.pdf or read online in GitHub.

Introduction

What is AdaML?

  • UML tailored for Ada 2012 programming language
  • A modeling language to draw UML diagrams, implemented in PlantUML
  • An easy way to learn Ada through the use of UML and OOP concepts

Features

  • UML tailored to use and show particular Ada language characteristics
  • Coherent set of functions to design software components for Ada
  • Generates high quality drawings (ps, eps) easy to embedded in other docs
  • Easy to learn by example, both AdaML and Ada language

What is /not/ AdaML?

  • A model-based tool to generate Ada code
  • A reverse engineering tool to draw UML diagrams from Ada code
  • An interactive UML modeling or drawing tool

Local Usage

AdaML must be used locally to get quality graphics. You can generate diagrams in eps format that can be embedded in LaTeX docs.

Requirements

  • PlantUML installed and working in your system
  • The AdaML files, check AdaML installation instructions
  • Your favorite text editor, preferably with PlantUML support (e.g. Emacs)
  • Check the list of supported editors
  • For better visualization and integration with LaTeX, computer modern fonts

Online Usage

Online Version - Quick Start

!include https://raw.github.com/rocher/AdaML/release/0.1.2/AdaML.puml
scale 300 width

begin_type("Pan_Dimensional")
  procedure("Ask_The_Question", "in out Natural")
end()

begin_package("Deep_Thought")
  function("Answer_The_Question", "", "Natural")
private()
  variable("The_Answer", "Natural", 42)
end()

depends("Pan_Dimensional", "Deep_Thought", "ask >")

Embed Diagrams in GitHub

This is an example of the AdaML documentation:

  • Check the raw version of this README.md file to see the image link used (plus how to easily center images in GitHub)
  • The AdaML source code can be found in GitHub: deep-thought-02.aml

ChangeLog

Release 0.1.2

  • Adapt to new PlantUML interface

Release 0.1.1

  • Scaled images of REAME.md file
  • AdaML file extension changed to *.aml
Older Releases   — click to expand —

Release 0.1.0

  • First public release