+ 6

How was Sololern developed to support a code editor with so many modules?

11th Jan 2019, 12:36 PM
Sam
Sam - avatar
4 odpowiedzi
+ 8
More accurate answer: coding. The editing is standard for all. It knows the language so it can enable custom code highlighting and syntax rules. It really could be much smarter such as error messages when missing a semicolon like IDE's do to prevent lots of errors when you enter the code instead of waiting for you to compile.
11th Jan 2019, 2:39 PM
John Wells
John Wells - avatar
+ 6
Parsing / analysis for syntax highlighting shouldn't be much different than that done by languages themselves, though an implementation based on regex matching would have different "depth" than one tracking context (like the difference between spell- and grammar-checking). I dropped a couple "lexical analysis" links here. If you follow the path, you can learn how to write your own stuff / get a feeling for what sort of analyzer / parser you're getting with various "IDEs". https://www.sololearn.com/discuss/1652742/?ref=app
11th Jan 2019, 6:15 PM
Kirk Schafer
Kirk Schafer - avatar
+ 5
Simple answer: Magic.
11th Jan 2019, 1:32 PM
Jan Štěch
Jan Štěch - avatar
+ 4
very good!
11th Jan 2019, 5:34 PM
Mohammad Elahi
Mohammad Elahi - avatar