Clue is an experimental ANSI C compiler that targets high level dynamic languages like Lua, JavaScript, Python, and Perl. It is designed to be very easy to adapt to new targets. It is currently under development and is more interesting than useful, although it is complete enough to run several benchmarking tools (including Whetstone).
| Tags | Software Development Compilers |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | POSIX |
| Implementation | JavaScript Lua C |
Recent releases


Changes: This version includes a Java backend.


Changes: This version has been cleaned up considerably, with many minor bugfixes. In addition, support was added for C and Common Lisp backends.


Changes: This version supports Javascript, Lua, and Perl backends. C compiled to Lua runs at about one fifth of native speed (using Mike Pall's LuaJIT engine), while when compiled to JavaScript it runs at 1/80th of native speed (using SpiderMonkey). Perl's speed is rather less good. Not all of the C language is covered. Notable omissions are switch and varargs, but enough is there to be interesting.


Changes: This version supports JavaScript and Lua backends. C compiled to Lua runs at about one fifth of native speed (using Mike Pall's LuaJIT engine), while when compiled to JavaScript it runs at 1/80th of native speed (using SpiderMonkey). Not all of the C language is covered. Notable omissions are switch and varargs, but enough is there to be interesting.