Linj is a Common Lisp-like language that tries to be as similar to Common Lisp as possible but allowing Linj programs to be compiled into human-readable Java code. NOTE!! I am not the author of that code, don't contact me - just fork it and use it. I am hosting it because the original place (evaluator.pt) is down, and original author is probably…
Common Lisp Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
linj
JavaToLMI.class
JavaToLMI.java
README
backq.lisp
basics.lisp
chars.lisp
format.lisp
functions.lisp
imports.lisp
io.lisp
linj-macros.lisp
linj-manual.pdf
linj.asd
linj.lisp
list.lisp
load.lisp
loop.lisp
macros.lisp
package.lisp
reader.lisp
semantic-macros.lisp
server.lisp
swing.lisp
translator-macros.lisp
translator.lisp
type-inference.lisp
types.lisp
util.lisp
vector.lisp

README

README for Linj_1.x

Apr, 9, 2004

NOTE: I (Karol Skocik) am just hosting this code since I was using Linj some ago, and Linj's presence in the net somehow disappeared.
Don't contact me with requests about Linj, I am not in a position to help you.

Overview
--------

Linj is a Common Lisp-like language that tries to be as similar to
Common Lisp as possible but allowing Linj programs to be compiled into
human-readable Java code.



License
-------

This Linj distribution is free of charge for non-commercial use. If
you use Linj for profit, you should contact us and buy a license.

Copyright and ownership of this software belong to eValuator, Lda.



Requirements
------------

The Linj compiler is written in Common Lisp and currently runs on

 - CMU Common Lisp 19a for Linux
 - SBCL 0.8.15 for Linux and MacOSX
 - Allegro CL 6.2 for Linux and Windows

You should download the version that matches your working environment.

Linj requires a JDK that conforms to the Java 1.1 Core API.

If you need Linj for other architectures and/or Common Lisp
environments, please, contact us.



Installation
-----------

Assuming that you extracted the files in the Linj distribution to the
path <path>, start your Common Lisp environment and evaluate the
expression:

(load "<path>/load")



Use
----------

Put your Linj program into a file named according to the Linj
conventions for classes (lowercase with hyphens), e.g., test.linj and
invoke the Linj compiler using the (quoted) name of the file (without
extension) and (optionally) the pathname to the directory containing
that file.  As an example, assuming that test.linj is in /tmp, use:

(linj2java 'test "/tmp/")

If the file test.linj is in the current directory, you can omit the
second argument.

If you have several linj files in a directory you can compile all of
them using

(linj2java-directory <path to the directory>)

The <path to the directory> defaults to the current directory.



Support Files
-------------

This Linj distribution also includes several pre-defined supporting
classes (defined in Linj itself).  You will find them on the
<path>/linj/ subdirectory.  For these classes to be useful, you must
define your CLASSPATH to include the directory containing the file you
are just reading.  As an example, if your Linj distribution is on the
path "/home/user/linj_1.0/" then you should set your CLASSPATH as
follows:

export CLASSPATH=/home/user/linj1.0/:$CLASSPATH 



Documentation
-------------

You can find a Linj tutorial at
http://www.evaluator.pt/downloads/tutorial.html 

One (unfinished) manual can be found at
http://www.evaluator.pt/downloads/linj-manual.pdf



Bugs
----

If you find bugs in Linj, please, send an e-mail to linj-bugs@evaluator.pt
describing the bug and, if possible, including the necessary
information to reproduce the bug.


    
Inquiry & Support
-----------------

If you need more information regarding Linj, please send email to
info@evaluator.pt.

For technical support, send email to support@evaluator.pt.



Feedback
--------

Comments are very welcome!  Please send them to info@evaluator.pt.


Thanks for using Linj.

-----------------------------------------------------------------------
"Java" is a registered trademark of Sun Microsystems.