1 Feb 21:50
Slightly OT: Emacs mode for simple rule files
Derek Jones <scunacc <at> yahoo.com>
2012-02-01 20:50:02 GMT
2012-02-01 20:50:02 GMT
Hi all, I like color syntax highlighting. I use emacs in viper mode for code editing usually (call me a luser! I don't care :-D - been doing that for decades since I looOOove vi and err, don't love emacs so much, but I love emacs' flexibility and it's color syntax highlighting way better than vim and friends.) Anyhow - I have a simple external expert system rule file - something like this: ---------------- goal result1 if answer1 and % Something or the other answer2 and % something else... answer3 then result1 cf 46 etc. I have hacked emacs lisp files before but really don't like doing so. (Yes, I even have the O'Reilly books). Wondered if anyone had a mode they had used for something like this. I've been looking at the generic and derived modes on the emacs wiki and(Continue reading)
RSS Feed