-- ? LPeg lexer.

local l = lexer
local token, style, color, word_match = l.token, l.style, l.color, l.word_match
local P, R, S = l.lpeg.P, l.lpeg.R, l.lpeg.S

module(...)

-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)

_rules = {
  { 'whitespace', ws },
  { 'any_char', l.any_char },
}

_tokenstyles = {

}
