A new Emacs major mode

The available tools to edit Electronic Device Description Language (EDDL) files feature rudementary editors – compared to Emacs. Playing around with EDD using a editor that sucks the logic step was to sit, think and create a new major mode for Emacs. The edd-mode was born.

Since EDDL shares lot of syntactic constructs with plain C it made sense to create edd-mode based on cc-mode.A good thing for beginners, similar things have been done before.  I took arduino-mode.el and actionscript-mode.el to learn and take what was best. The problem is  EDDL has tons and tons of keywords, adding the keywords to known c-lang-defconst keyword-lists made everything look the same – no gain with syntax highlighting :(.

The solution at hand was to create new font-faces for attributes, defined attribute values and classes so it got a bit more readable. Check it out and contribute!

Screenshot with syntax-highlighting in emacs