Module lace.lex

Lace Internals - Ruleset lexer.

The lexer for Lace is only used internally and is generally not accessed from outside of Lace. It is exposed only for testing and validation purposes.

Functions

string (ruleset, sourcename) Lexically analyse a ruleset.


Functions

string (ruleset, sourcename)
Lexically analyse a ruleset.

Parameters:

  • ruleset string The ruleset to lex.
  • sourcename string The name of the source to go into debug info.

Returns:

    table A list of lexed lines, each line being a table of tokens with their associated debug information.
generated by LDoc 1.4.6 Last updated 2022-07-22 12:53:02