Hi All,
Is there any interest in a more general syntax parser for spyder?
This sounds very interesting indeed.
I did some tests a while ago with a syntax highlighter based on
pygments (I started with code from IPython Qt console which is doing
something similar). But the problem was the performance: I compared
the two solutions with a very long Python script and the
pygments-based code was 2-3 times slower if I remember correctly. And
I think that Spyder syntax highlighting is already very slow as it is
(it is obvious when restarting Spyder with a lot of opened scripts:
the splash screen stays a while on "Loading editor plugin...").
So, have you an idea of the performance of your code?
Note that even if it's slower than Spyder's builtin highlighter, we
may use it anyway to add support for more languages (but not for
already supported languages for which we would keep the current
implementation).
Anyway I like the idea of a generic highlighter and I thank you for
looking into it.
Cheers
Pierre
> --
> You received this message because you are subscribed to the Google Groups "spyder" group.
> To post to this group, send email to spyd...@googlegroups.com.
> To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
>
> To unsubscribe from this group, send email to spyderlib+unsubscribe@googlegroups.com.
> To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spyderlib/-/wLvGQDea_V8J.
To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.