Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 6, 2015
  1. Merge pull request #14 from gvvaughan/pull-request/fix-tokens-typo

    authored
    Getter: fix a symbol-name typo in Getter.scan_iter.
Commits on Feb 5, 2015
  1. Gary V. Vaughan

    Getter: fix a symbol-name typo in Getter.scan_iter.

    gvvaughan authored
    * macro/Getter.lua (Getter.scan_iter): Fix a reference to the
    token list argument misspelled as `tokens` to `tlist`, the name
    of the function argument.
Commits on Jan 10, 2015
  1. Merge pull request #10 from gvvaughan/pull-request/use-iden-consistently

    authored
    refactor: use iden consistently for getting and putting 'iden' tokens.
  2. Merge pull request #9 from gvvaughan/pull-request/allow-macro-error-t…

    authored
    …o-exit
    
    macro: don't override callers please_throw preference.
  3. Merge pull request #8 from gvvaughan/pull-request/tokenlist-keyword-n…

    authored
    …ospace-support
    
    TokenList: support optional no_space parameter to keyword method.
  4. Merge pull request #7 from gvvaughan/pull-request/getter-names-53-compat

    authored
    getter: ipairs over TokenListList does not work with Lua 5.3.
  5. Merge pull request #13 from gvvaughan/pull-request/add-block-getter

    authored
    Getter: add a function to get a balanced block.
  6. Merge pull request #12 from gvvaughan/pull-request/add-matching-token…

    authored
    …-getter
    
    getter: method to fetch matching tokens.
Commits on Jan 7, 2015
  1. Gary V. Vaughan

    getter: method to fetch matching tokens.

    gvvaughan authored
    * macro.lua (matching): New method.  Fetch matching tokens with a
    function and return them as a TokenList.
  2. Gary V. Vaughan

    Getter: add a function to get a balanced block.

    gvvaughan authored
    * macro/Getter.lua (tappend): New local function...
    (list): ...factored out of here.
    (block): Use it to implement a balanced block fetching function.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>
  3. Gary V. Vaughan

    macro: display a colon after error line number.

    gvvaughan authored
    * macro.lua (error): Many standard tools and editors rely on error
    output format `filename:line: message' for full features.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>
  4. Gary V. Vaughan

    macro: don't override callers please_throw preference.

    gvvaughan authored
    * macro.lua (error): Unconditionally setting `please_throw`
    renders the following else clause unreachable, and prevents the
    caller from requesting termination on error.
  5. Gary V. Vaughan

    refactor: use iden consistently for getting and putting 'iden' tokens.

    gvvaughan authored
    * macro/Getter.lua (name, names): Rename from these...
    (iden, idens): ...to these.  Adjust all callers.
    Keep old method names as aliases for backwards compatibility.
    * macro/TokenList.lua (name, names): Rename from these...
    (iden, idens): ...to these. Adjust all callers.
    Keep old method names as aliases for backwards compatibility.
    * readme.md: Adjust accordingly.
  6. Gary V. Vaughan

    TokenList: support optional no_space parameter to keyword method.

    gvvaughan authored
    * macro/TokenList.lua (keyword): For consistency with `name`,
    don't output a trailing space if optional no_space parameter is
    truthy.
Commits on Jan 6, 2015
  1. Gary V. Vaughan

    getter: ipairs over TokenListList does not work with Lua 5.3.

    gvvaughan authored
    * macro/Getter.lua (Getter.names): Change ipairs invocation to
    a numeric loop over indices.
Commits on Jun 11, 2014
  1. updated proto example

    authored
Commits on Jun 11, 2013
Commits on Jun 9, 2013
Commits on Jun 7, 2013
Commits on Jun 4, 2013
  1. lpeg < 0.12 issue; macro.assert did not pass through value, and tests…

    authored
    ….lua as alternative test runner
Commits on May 31, 2013
  1. Merge pull request #4 from gvvaughan/pull-request/fix-lpeg12-empty-st…

    authored
    …ring-loop
    
    lexer: fix lpeg-0.12 empty string in loop error.
  2. Gary V. Vaughan

    lexer: fix lpeg-0.12 empty string in loop error.

    gvvaughan authored
    * macro/lexer.lua (lexer.init): Replace longstring callback with
    the longstring matcher from the lpeg 0.12 documentation.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Commits on Mar 28, 2012
Commits on Jan 31, 2012
Commits on Jan 30, 2012
  1. updated tests

    authored
  2. doc updates

    authored
Commits on Jan 18, 2012
  1. bumped vs to 2.4.0; added -o to write preprocessed code to file; rear…

    authored
    …ranged package.path so that standard path is seen first
Something went wrong with that request. Please try again.