Directory | Tags | Index | LinkIt | Submit   | Help
    Thursday, 31 July 2014 - anonymous
Login/Register to vote and to have access to more features

You are here: Root > Programming Languages > Java

View the dependency graph for this library

LINJ
Created by marc.battyani on: Sat, 28 Oct 2006 20:06:08 GMT, Last modification: Sat, 28 Oct 2006 20:06:08 GMT

The Linj compiler translates Linj, a Lisp dialect very similar to Common Lisp, programs into human-readable Java programs, serving two different purposes:
(1) it allows a very smooth integration with the Java libraries
(2) it allows the generated code to be read, used and modified by Java programmers.

eMail
Web sitehttp://www.evaluator.pt/linj.html
Mailing list
Version1.7 -
MaturityBeta
OS compatibilityAll
ASDF installableYes
Official Downloadhttp://www.evaluator.pt/linj.html
Mirrored Download
Source code repository


For instance this Linj code snippet:

(defun fact (n/int)
  (if (= n 0)
    1L
    (* n (fact (1- n)))))

Gives this java code:

public static long fact(int n) {
    if (n == 0) {
        return 1L;
    } else {
        return n * fact(n - 1);
    }
}

More examples in the Linj tutorial here: http://www.evaluator.pt/downloads/tutorial.html

Compatible Implementations

SBCL | CMUCL | Allegro Common Lisp

Authors and Maintainers

António Menezes Leitão

Tags

Java | Applications

0 Notes and 0 comments

0 Notes

You must be logged to add a note


0 Comments

You must be logged to add a comment