clara

2022-01-21T00:29:40.005100Z

Hi everyone, Happy new year etc. I think I can still say that. I am developing some rules in clara. I use emacs as my editor which usually works pretty well. However I am using clojure-lsp in emacs which struggles with the clara syntax and fails with too many errors. I wonder if anyone else is using this setup with clara and can point me to some documentation on the LSP setup that works with clara. Note, my emacs-fu is pretty shallow which is probably the root cause of the problem. Thanks.

2022-01-26T19:22:03.884559Z

I haven’t used clojure-lsp enough to speak to this one.

2022-01-26T22:09:52.984209Z

I have found some docs on building lint hooks with clj-kondo that looks like the approach to get it to understand the lhs => rhs syntax and ?variable declarations. I might give it a try when I get a chance.

2022-01-26T22:19:09.014729Z

Yeah. Certainly seems possible

2022-01-26T22:19:18.828739Z

Have seen hooks used for similar types of macros