I am designing a language, and I would like to enhance the user experience with a rich code editor. First I tough in CodeMirror, but then I found ACE Editor, which is open source too :)
I have read everything and decided for the second option. But I can not find how to implement a error detection mechanism; I am referring to the worker file. So...the question, finally, is which is the basic structure of a syntax analyzer for finding syntax errors using javascript? (for example JSHint)
I really appreciate your answers, thank you very much.