News for hackers. Stuff that matters.
Re:Lezer: A Parsing System for CodeMirror, Inspired by Tree-... by Turing_Machine on Sunday March 24, 2024 @10:35PM (#39812413)
> Code mirror 6 is a box of Legos and you are responsible to build and bundle your own editor from scratch.

Yep. Let me stress that there's absolutely nothing wrong with this if that's what you want to do -- but it's less than optimal for the person who just wants to add a JavaScript file for the editor, with maybe a JS/CSS combo to support syntax highlighting for a specific language. Codemirror 5 was like that, pretty much.

You basically have to set up a whole independent build and packaging system to configure Codemirror 6, and a lot of people just don't want to deal with that.

It's a pity it's the only JavaScript-based editor that works at all reliably on mobile (I would be delighted to be proven wrong about this).

Re:Lezer: A Parsing System for CodeMirror, Inspired by Tree-... by The_Colonel on Monday March 25, 2024 @11:03AM (#39817204)
That's why I'm staying with CodeMirror 5 too.

It seems like for the past few years many high profile JS projects increased the complexity of using their software for (to me) unclear benefits.

Re:Lezer: A Parsing System for CodeMirror, Inspired by Tree-... by Turing_Machine on Monday March 25, 2024 @04:42PM (#39821051)