rouge icon indicating copy to clipboard operation
rouge copied to clipboard

Add lexer for OMG/CORBA IDL

Open t-b opened this issue 2 months ago • 0 comments

The name of the language OMG/CORBA IDL

Documentation:

  • https://omniorb.net/omni43/omniORB/omniORB002.html
  • https://www.omg.org/spec/IDL/About-IDL/

Example:

interface Echo {
  string echoString(in string mesg);
};

Implementation in other libraries

  • pygments: https://pygments.org/docs/lexers/#pygments.lexers.c_like.OmgIdlLexer
  • vim: https://github.com/vim/vim/blob/master/runtime/syntax/idl.vim

Additional context A bigger example is: https://gitlab.com/tango-controls/tango-idl/-/blob/main/include/tango.idl?ref_type=heads

This also needs to include a guesser as the current guessed filetype for our case is IDL as in "Interactive Data Language".

t-b avatar Oct 23 '25 17:10 t-b