Geeky show

October 28th, 2006 by Samuel Tardieu

I was watching an Alias episode when I saw Jennifer Garner set a bomb clock to 4 minutes. At that time, I thought about my rforth1 compiler and realized that the code that writes a constant value into a timer register was probably doing things in the wrong order regarding the PIC timers internal latches.
It […]

rforth1 optimizations

October 24th, 2006 by Samuel Tardieu

I worked a lot on rforth1 lately, a Forth compiler targetting the PIC 18f family of microcontrollers. I have added many new optimizations in order to generate smaller and more efficient code.
Let’s take an example. The Forth code below cycles through the 8 possible states of 3 leds connected to ports B5, B6 and B7 […]

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.

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