Permalink
Switch branches/tags
Commits on Mar 10, 2015
  1. luam is executable

    Steve Donovan committed Mar 10, 2015
  2. Merge pull request #11 from gvvaughan/pull-request/prettyprint-syntax…

    stevedonovan committed Mar 10, 2015
    …-errors
    
    Getter: provide more idiomatic and verbose syntax errors.
Commits on Feb 6, 2015
  1. Getter: provide more idiomatic and verbose syntax errors.

    gvvaughan committed Jan 7, 2015
    * macro/Getter.lua (prettyprint): New helper function to display
    unexpected tokens in syntax error messages.
    (name, number, expecting): Use it to display unexpected token in
    Lua core-like format.
    
    Signed-off-by: Gary V. Vaughan <gary@gnu.org>
  2. Merge pull request #14 from gvvaughan/pull-request/fix-tokens-typo

    stevedonovan committed Feb 6, 2015
    Getter: fix a symbol-name typo in Getter.scan_iter.
Commits on Feb 5, 2015
  1. Getter: fix a symbol-name typo in Getter.scan_iter.

    gvvaughan committed Feb 5, 2015
    * 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

    stevedonovan committed Jan 10, 2015
    refactor: use iden consistently for getting and putting 'iden' tokens.
  2. Merge pull request #9 from gvvaughan/pull-request/allow-macro-error-t…

    stevedonovan committed Jan 10, 2015
    …o-exit
    
    macro: don't override callers please_throw preference.
  3. Merge pull request #8 from gvvaughan/pull-request/tokenlist-keyword-n…

    stevedonovan committed Jan 10, 2015
    …ospace-support
    
    TokenList: support optional no_space parameter to keyword method.
  4. Merge pull request #7 from gvvaughan/pull-request/getter-names-53-compat

    stevedonovan committed Jan 10, 2015
    getter: ipairs over TokenListList does not work with Lua 5.3.
  5. Merge pull request #13 from gvvaughan/pull-request/add-block-getter

    stevedonovan committed Jan 10, 2015
    Getter: add a function to get a balanced block.
  6. Merge pull request #12 from gvvaughan/pull-request/add-matching-token…

    stevedonovan committed Jan 10, 2015
    …-getter
    
    getter: method to fetch matching tokens.
Commits on Jan 7, 2015
  1. getter: method to fetch matching tokens.

    gvvaughan committed Jan 7, 2015
    * macro.lua (matching): New method.  Fetch matching tokens with a
    function and return them as a TokenList.
  2. Getter: add a function to get a balanced block.

    gvvaughan committed Jan 7, 2015
    * 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. macro: display a colon after error line number.

    gvvaughan committed Jan 7, 2015
    * 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. macro: don't override callers please_throw preference.

    gvvaughan committed Jan 7, 2015
    * macro.lua (error): Unconditionally setting `please_throw`
    renders the following else clause unreachable, and prevents the
    caller from requesting termination on error.
  5. refactor: use iden consistently for getting and putting 'iden' tokens.

    gvvaughan committed Jan 7, 2015
    * 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. TokenList: support optional no_space parameter to keyword method.

    gvvaughan committed Jan 7, 2015
    * 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. getter: ipairs over TokenListList does not work with Lua 5.3.

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

    stevedonovan committed Jun 11, 2014
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…

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

    stevedonovan committed May 31, 2013
    …ring-loop
    
    lexer: fix lpeg-0.12 empty string in loop error.
  2. lexer: fix lpeg-0.12 empty string in loop error.

    gvvaughan committed May 31, 2013
    * 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

    stevedonovan committed Jan 30, 2012
  2. doc updates

    stevedonovan committed Jan 30, 2012