emacs mode

9 views
Skip to first unread message

Marc Hadfield

unread,
Aug 23, 2021, 11:54:54 AM8/23/21
to ErgoAI, Flora-2, and XSB Users Forum

Hi All - 

I was recently trying out flora mode in emacs and noticed that it can cause quite a lag in editing (like locking up for 15 seconds) when just hitting return a few times.  From a quick look at emacs profiling, it looks like this is caused by heavy use of the emacs "looking-back" function.

Does anyone have any tweaks to the flora mode script to help, maybe by limiting the scope of the looking-backs to reduce the overhead?  Googling emacs + looking-back  comes up with some info, such as:

-- Marc
  

Marc Hadfield

unread,
Sep 9, 2021, 9:58:42 AM9/9/21
to Michael Kifer, ErgoAI, Flora-2, and XSB Users Forum
Thanks Michael!

We use Eclipse for our other development work.  Other than the visualizer from a long while back, are there any other Flora2/Eclipse plugins for editing support?  I'm considering creating one for syntax highlighting, etc. using Xtext for parsing, which supports extended BNF-style rules.  Any thoughts as to whether that's a good/bad idea?

-- Marc


On Sat, Aug 28, 2021 at 11:12 PM Michael Kifer <michae...@coherentknowledge.com> wrote:

Unfortunately it is not that simple. This mode requires a thorough  review.

It helps to create shorter rules by splitting large bodies though.

--

       --- michael


 

--
You received this message because you are subscribed to the Google Groups "ErgoAI, Flora-2, and XSB Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ErgoAI-Flora2-XSB...@coherentknowledge.com.
To view this discussion on the web visit https://groups.google.com/a/coherentknowledge.com/d/msgid/ErgoAI-Flora2-XSB-forum/CABgggucWBde7AS9cfe7R_zNPETB%3DFyM68TG%2BZ71hjkqeRc57fQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages