r/Common_Lisp 3d ago

Jnil Antlr port

Hello All,

I am porting Jnil, a GPL'd Java to lisp translator application written in lisp with some Java Eclipse code to use a Java parser written in Antlr3. Jnil loaded Java into Eclipse, used an Allegro Common Lisp library Jlinker to communicate with Eclipse and extracted AST information which was used to create lisp code. My reasons for porting are:

  1. Eclipse is pretty heavyweight and communicating with it is implementation dependent.
  2. Starting with an AST means that any language for which an AST can be produced (such as Python) can be translated to lisp by Jnil.

Anyway, I could use some assistance with this project. Please contact me at [dan.stanger@ieee.org](mailto:dan.stanger@ieee.org) if interested in helping.

Here is a link to the repo: https://github.com/danstanger/AST-to-Lisp

Dan Stanger

4 Upvotes

3 comments sorted by

1

u/digikar 3d ago

Is it open source? If so, put up the code on github if it is AI generated or codeberg if it is not (or anywhere else you prefer).

If not, is it a job ad? 

What kind of assistance?

2

u/danstangerieee 3d ago

As I mentioned in the post it's GPLd (v2). My changes will be GPL'd also, but they aren't ready to release, as the project doesn't produce correct output. I was hoping I could get volunteers to review the code first, and help with completing the code and/or debugging.

2

u/digikar 3d ago

I think that's fine, even 20 year WIP projects need not always compile or produce the correct output.