News for hackers. Stuff that matters.
Re:Deca - a systems language based on modern PL principles by eli_gottlieb on Sunday January 01, 2012 @08:46PM (#3414455)
The language is a compiled language, with the JVM being used (originally) because I wanted a particular parser generator. Deca code can't access Java libraries because Deca code compiles to LLVM bitcode and thence to machine code. decac is a compiler, not an interpreter, so it takes the Deca code in and outputs the LLVM bitcode.

Sorry about the lack of docs. I've been slowly dumping my undergraduate thesis on this into the wiki, but the language has been evolving and I've been starting a career. Oy ;-).

Re:Deca - a systems language based on modern PL principles by _Y_ on Monday January 02, 2012 @05:03AM (#3415397)
Sorry to nag, but how is outputting to LLVM bitcode not interpreting? You are taking source code and turning it into intermediate form (i.e. LLVM bitcode), no?
Re:Deca - a systems language based on modern PL principles by skrebbel on Monday January 02, 2012 @05:45AM (#3415479)
An interpreter means a program that runs a program, straight from its source code.

A compiler transforms a program from one format into another. decac does not execute programs, so it's not an interpreter.

Re:Deca - a systems language based on modern PL principles by nponeccop on Monday January 02, 2012 @06:32AM (#3415572)
LLVM bytecode does not exist after linking - it turns into usual machine code. It is not even a JIT compiler, talk less of an interpreter.