I’m learning LISP for a class. I have a basic workflow setup in Ubuntu with my LISP file in VIM and an interactive LISP prompt in a terminal that I’m using to test code as I write it. Is there a way to get LISP to load a specific file every time I type a command? It’s getting a bit tiring having to constantly input (load 'initial-code.cl) (yes, even when I am using the terminal’s history).
I’m learning LISP for a class. I have a basic workflow setup in Ubuntu
Share
Can always try:
Works like this:
Pretty simple.
You can also do something like:
Then you just type (go) and it reloads your file and calls your main entry point.
Or even combine them:
then you can change your parameters easily
Ya know, it’s lisp. Don’t like something, change it.
With more time, you can write a simple wrapper that can build these on the fly. But you get the idea.