1

I am having the lisp code that I found at the repository: https://github.com/JafferWilson/test-program
I am looking for compiling and running this code using the python code.
How can I make it possible? I have looked around but didn't find anything related.
Kindly, help me.

7
  • 2
    Possible duplicate of stackoverflow.com/questions/27221781/… ? Commented Aug 3, 2017 at 4:41
  • you might want to try Hy (lisp to python compiler): github.com/hylang/hy Commented Aug 3, 2017 at 4:45
  • @TarasMatsyk Sorry but how you recoomend the link as I could not understand how to make it possible? Can you please explain that as an answer. If possible show me what need to be done to implement my lisp code. Commented Aug 3, 2017 at 4:50
  • 1
    Two possible reasons to do this is either because you prefer language a but language b has a neat library you would like to access OR you have your program in language a but the tools don't compile to the target plattform and language b does. If it's the first you can switch it around and do python in CL with common-lisp.net/project/clpython Commented Aug 3, 2017 at 12:58
  • 1
    I had a brief look at the repository and it appears to be Common Lisp. I think what you should do is run the Lisp program as a separate program. To do this you'll need to install a Common Lisp implementation (e.g. Sbcl) and then you can run the Lisp program like you would run any other process from python. If you want to pass data in and out of the Common Lisp program you may need to set up some serialisation/deserialisation and processing via I/O mechanisms to communicate with python Commented Aug 3, 2017 at 16:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.