Jump to content

Module:Lua lexer/doc

From Simple English Wikipedia, the free encyclopedia

This is the documentation page for Module:Lua lexer

Lexer for Lua source code written in pure Lua.

Documentation

Package function

lexer(text) (function)
Lexer for Lua source code written in pure Lua.
Parameter: text Lua source code to lex. (string)
Returns: Table of line arrays containing lexemes. (string)