ada

Does anyone know how or where can VADS (Verdix Ada Development Studio) can be obtained?

Yeah, I know is obsolete and old and everything you all might say... But I just needed... This stuff happens... xD any clues? ...

Ada and assembly

I'm looking at making a hardware debug tool that runs on the bare CPU (x86), 32-bit protected mode and no OS. Due to time constraints, I won't be writing the tool all in x86 assembly. I like the Ada language (but am inexperienced with it) and thought it might be interesting to use Ada rather than C for this project. With C one can use ...

Java / Ada Big Endian to Linux Little Endian problems.

I am an intern who has inherited a problem with a testing program at the place where I am working. After searching around on a little bit I can across a person with my exact same problem. After asking around a little bit here, i found out that the guy who posted this does actually still work here, and I am getting his help with this too,...

Porting Unix ada app to Linux: Seg fault before program begins.

I am an intern who was offered the task of porting a test application from Solaris to Red Hat. The application is written in Ada. It works just fine on the Unix side. I compiled it on the linux side, but now it is giving me a seg fault. I ran the debugger to see where the fault was and got this: Warning: In non-Ada task, selecting an A...

Why didn't Ada make it?

I've read about a really beautiful langauge called "Ada", which seems very powerful to me, with a lot of what we call these days "safety features". What was wrong with Ada not to make it a first-class language in industry? I know that it has been used in mission-critical software. What I am asking about is what does not make it a good ...

An Erlang written in Ada?

Another thread had this quote Erlang VM BEAM and HiPE is written mostly in C. Linked-in drivers are written mostly in C. (They are plugged to VM and serves communication with outside world.) I've read some opinions that Ada's strong typing, modularity, run-time checking, parallel processing etc. etc. are better than tha...

Are there logging frameworks or well-known design patterns for Ada in addition to Alog (http://www.nongnu.org/alog/)?

Such as something similar to log4j? ...

Arbitrary length integer in Ada

Hello! I am currently teaching myself Ada and though I could begin by tackling some of the more conventional problems to get started. More specifically I try to calculate the factorial n!, whereas n>100. My implementation so far is: with Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Text_IO; procedure Factorial is -- define a ...

How to create a tearoff menu using GTKAda?

The question is self-explaining, how to create a tearoff menu using GTKAda? I can't make it work. Thanks. ...

How can i make GNAT generate program listing?

Make it look like tasm-generated listing) ...

Ada Ada.Containers Clear Procedure Problem

Has anyone had trouble with the Clear procedure found in the Ada.Containers package? It seems to set the Container's length to zero, but once another element is added using the Append procedure, the contents of the Container reappear (i.e. they never get removed). I've tried both Ada.Containers.Doubly_Linked_Lists and Ada.Containers.Ve...

I have an embedded project idea that i want to start. I have many questions.

This is my first post on stackoverflow, I've heard of this website and I think its awesome! Let's see if i can get some guidance on how to start my project. The Idea: Basically I want to build my own custom OSC controller (OSC is a protocol based off UDP with the intention of replacing MIDI). What's interesting about this is that I want...

Can variable which is declared in same procedure body where tasks are be considered as shared for these tasks?

Variable is used in 1 task only, but the question is: can it be CALLED shared? ...

Ada initializing an array based on user input

I'm coming from Java/C++ to Ada and am having trouble figuring out the small stuff. Is it possible to declare an array and ask the user for the min/max values then initialize it? I don't like having to define constant values for the MIN and MAX and it seems like there should be a way to do this. You can define an unconstrained type, b...

Is there a "this" keyword in Ada?

Specifically, is there a way for a task to get a reference to itself? For example: task type someTask; type someTaskAccessor is access someTask; task body someTask is pointerToTask : someTaskAccessor; begin pointerToTask = this; end someTask; ...

Regular Expressions in Ada?

I'm very new to Ada, and I'm trying to do some simple work with some text. All I want to do is read in a file, and strip out anything that isn't a letter, space, or new line. so removing all the punctuation and numbers. In other languages I would just create a simple [^a-zA-Z] regular expression, look at each character and delete it i...

Why doesn't Ada have a garbage collector?

I know GC wasn't popular in the days when Ada was developed and for the main use case of embedded programming it is still not a good choice. But considering that Ada is a general purpose programming language why wasn't a partial and optional (traces only explicitly tagged memory objects) garbage collector introduced in later revisions o...

Returning a variable-sized matrix from a function in Ada

I'm trying to learn Ada for a course at the University, and I'm having a lot of problems wrapping my head around some of the ideas in it. My current stumbling block: Let's say I have a function which takes a Matrix (just a 2-dimensional array of Integers), and returns a new, smaller matrix (strips out the first row and first column). I...

Pass a Boolean Ada type in Interfaces.C

I would like to now how to pass a standard Boolean Type in Ada through the Interfaces.C package in order to call a DLL function. The Interfaces.C package does not contain the Ada Boolean type since the boolean type does not exist in ANSI C. I have a DLL function written in C++ whose exported function prototype has an argument of type Boo...

"Missing full declaration for private type.." in Ada

Hello.. I'm having a problem using a package ADS file in Ada. I'm getting an error of "Missing full declaration for private type LETTER". How do I deal with it? this is the code I wrote: package LETTER_SPEC is type LETTER is private; procedure DATE_OF_LETTER (THE_LETTER: in out LETTER; DATE: STRING); procedure RECIPIE...