Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javascript based code editor for custom language syntax

I need javascript/html based code editor which I will customize for very simple custom coding language.

This editor tools needs to work in an offline solution so the source code must be downloadable or open. Language syntax will be look like very simplified java script even with out variables I will define just 'if then' and 'built in function name' for the custom language.

So it must have configuration support for custom coding language syntax

If you can refer some ready to use solutions, it will be so helpful

like image 441
Ozgur Avatar asked Jul 26 '12 12:07

Ozgur


1 Answers

I found solution for my own question

I used code mirror

http://codemirror.net/

It has built in support for lots of codding language including JavaScript / C# / VB / C / C++ / CSS / etc

and according the language file you can also modify the supported keywords list

like image 170
Ozgur Avatar answered Oct 11 '22 17:10

Ozgur