Question

I have developed a new domain-specific language (DSL) using Javacc parser generator. Now, I want to create a rich web editor for this language (using Play framework and Twitter bootstrap), so that it can be easily used by everyone. I am looking to implement some cool features like auto-complete, code formatting, syntax highlighting etc. Can anyone guide me on the general approach or any standard algorithms for implementing these features ? Are you aware of any open-source implementations that I can glance through to get an overall idea ?

Thanks.

Was it helpful?

Solution

Try codemirror. Check here to see how to create an new module (for your DSL) for codemirror

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top