Daniel's Tumblog2008-06-20T15:38:01ZautoblissMatt Mahoney2008-01-06T00:22:24Z

autobliss 1.0 simulates a programmable 2-input logic gate that you can program using reinforcement learning, i.e. reward and punishment. It can learn any of the 16 possible 2-input logic functions, i.e.AND, OR, XOR, NAND, etc. You train it by rewarding it when it gives the correct output (0 or 1) for a given input (00, 01, 10, 11), and punishing it when it gives the wrong output.

I'd like to see implementations of this in other languages when I have time.

Tags: PROGRAMMING C AI

Tiny C CompilerRob Landley2007-11-26T09:16:00Z

"This is a small, simple, and fast single pass C compiler. It produces executable code directly from C source, with no intermediate steps. It understands almost all of the C99 standard, plus several extensions from gcc.

"Tinycc can produce ELF executables (and .o files, and shared libraries) for x86, arm, and c67 processors. It can also run C code directly, as a scripting language, via the "#!/usr/bin/tinycc -run" construct.

"Tinycc already builds a working version of itself. The current goal is to implement enough features to build an unmodified Linux kernel, uClibc, and BusyBox (or toybox) to create a small self-bootstrapping Linux system in only four packages. (See the Firmware Linux project for details.)"

Excellent.

Tags: C WEISS COMPILERS LANGUAGES