local info = {
    version   = 1.002,
    comment   = "scintilla lpeg lexer for cld",
    author    = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
    copyright = "PRAGMA ADE / ConTeXt Development Team",
    license   = "see context related readme files",
}

local lexer = lexer

local cldlexer   = { _NAME = "cld", _FILENAME = "scite-context-lexer-cld" }
local whitespace = lexer.WHITESPACE -- maybe we need to fix this
local context    = lexer.context

local lualexer   = lexer.load('scite-context-lexer-lua')

cldlexer._rules       = lualexer._rules_cld
cldlexer._tokenstyles = lualexer._tokenstyles
cldlexer._foldsymbols = lualexer._foldsymbols
cldlexer._directives  = lualexer._directives

return cldlexer
