Forth interpreter and readline library in Ada

May 30th, 2006 by Samuel Tardieu

For the 2006 French robotics cup, I wrote two utility packages for GNAT, the GNU Ada compiler:

areadline: access the readline library from Ada;
aforth: embeddable Forth interpreter written in Ada (uses the areadline library).

I haven’t put a license file in them yet, but you can get them under the GNU General Public License version 2.

Writing software as we design hardware

May 22nd, 2006 by Samuel Tardieu

As a low-level software guy, I often have to work with electrical engineers to build custom hardware and software systems. I am constantly amazed by the tricks necessary to make the hardware part work and the experience needed to build reliable electrical components. I decided to apply the same techniques to my software.
First of all, […]

Prime numbers and Pell equation

February 10th, 2006 by Samuel Tardieu

Before leaving for my vacation,here are two small Python libraries I wrote that may help you if you want to participate to Project Euler:

primes.py: fast prime number generation and integer factorization
pell.py: find solutions pairs to Pell diophantine equation x2-Dy2=1

The J programming language

February 8th, 2006 by Samuel Tardieu

This may come as a surprise, but I will today write about a programming language for which no Free Software implementation exists, the J programming language. J does not stand for the J dirty word (Java), but is the full name of the language.
I first heard about J while solving some problems on the Project […]

blenderdist

August 21st, 2005 by Samuel Tardieu

When doing some heavy 3D rendering with Blender, I realized that one of my animation was going to take 53 hours to render. Existing distributed rendering systems such as DrQueue were fine but require that some software other than Blender or basic interpreters (such as Python or Perl) is installed on the contributing machines.
So I […]

How should a program behave?

April 24th, 2005 by Samuel Tardieu

I always tell my compilation class students that there are two steps to follow when developping a new program:

the program must accept any valid input and produce accurate results; the result of feeding the program with invalid input is undefined, it can either crash or silently produce wrong results;
the program must reject any invalid input.

I […]

Ashamed

April 24th, 2005 by Samuel Tardieu

I feel quite ashamed of the pun on the name and the logo of my new Forth compiler…


Creative Commons License