I wrote a small OM library using OM’s own text editor, but development process is a bit clumsy. I gave to test it in om, reloading the library each time. I cannot take advantage of any IDEs, such as LispWorks or Emacs. Is there a better way to develop for OM? I am also new to LISP but I have experience with C++, and Python. For example, is there a file I can include in order to be able to test my functions, which depend on some Om functions, in my IDE?
Hello,
Of course you can use any editor or IDE to write your OM/Lisp code.
But if you want it to be dynamically evaluated and integrated in OM as you write it , however, you will have to use the OM editors.
I guess what you can make yourself an intermediate workflow, for instance coding in your favorite editor and just using OM whenever needed to load/reload the lib, or any specific file – using (load ).
You can use the LispWorks IDE for that (probably the best for editing Lisp code – free personal edition available on www.lispworks.com), but it will still be disconnected from your running OM session until you reload the lib.
[It’s actually no much worse than recompiling/relaunching your program all the time as you would do in onther langauges… :)]
Intermediate workflow is the best approach as you said. But I cannot make LispWorks recognize om methods. I guess I don’t know how LispWorks works. If I was developing in C++ I would just point to OM headers and I could work with any ide, with code completion and everything. With LispWorks I have no idea how I can point the IDE to OM sources.