Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 19, 2014
  1. Merge pull request #30 from metadave/dp_unicode_again

    authored
    use unicode fn instead of list_to_binary
  2. Dave Parfitt
  3. Dave Parfitt
  4. Dave Parfitt

    use unicode fn instead of list_to_binary

    metadave authored
    added a parser test that contains unicode characters
Commits on Aug 18, 2014
  1. Merge pull request #29 from metadave/dp_unicode

    authored
    bugfix + test for unicode support
  2. Dave Parfitt

    review tweaks

    metadave authored
  3. Dave Parfitt
Commits on Feb 19, 2014
  1. Merge pull request #27 from Vagabond/adt-dialyzer-and-xref

    authored
    Fix a dialyzer warning in generated code and add xref target to makefile
  2. Andrew Thompson
Commits on Jan 27, 2014
Commits on Jan 2, 2014
  1. Avoid emitting unused combinators via macros.

    authored
    This is a stop-gap to reduce dialyzer errors in generated parsers,
    i.e. until a more thorough approach can be taken. Essentially
    neotoma's parser tracks which combinators are used by in grammar, and
    then the generator emits macros at the top of the Erlang output to
    ensure that those used combinators are present, but no others.
    peg_includes.hrl wraps each optional combinator in appropriate -ifdef
    macros. There's still a possibility that a successful sub-tree of a
    failed branch will cause an unused function to be included, but most
    grammars should not encounter this problem.
    
    Globally-unused combinators were also removed from peg_includes.hrl,
    namely p_and/1 and p/4. p_eof/0 remains for future use but is guarded
    by a macro.
    
    The line/1 and column/1 functions must be manually turned on by
    defining the 'line' and/or 'column' macros in the global code block.
    
    Fixed the remaining dialyzer bugs in neotoma.erl, removing an
    unnecessary clause of validate_params/4 and fixing the option() type
    to include an option used by the escript.
    
    Provided additional specs for the remaining functions in
    peg_includes.hrl.
  2. Fix `make test`.

    authored
Commits on Jan 1, 2014
Commits on Aug 2, 2013
  1. Use git version and bump.

    authored
  2. Fix bootstrapping.

    authored
Commits on Apr 23, 2013
  1. Bump to 1.6.1

    authored
  2. Merge pull request #24 from seth/sf/format-fix

    authored
    Restore previous formatting to generated parser code
  3. Merge pull request #23 from seth/sf/script_name

    authored
    Fix use of neotoma as an escript
  4. Seth Falcon

    Restore previous formatting to generated parser code

    seth authored
    In 03a316e, the following change was
    made that removed a space after `->`:
    
    ```
    -        ")(I,D) end, fun(Node, Idx) -> ",Transform," end)."]
    +        ")(I,D) end, fun(", TransformArgs, ") ->",Transform," end)."]
    ```
    
    The previous behavior is more idiomatic for human readers. Restoring
    the previous behavior makes it easier to review diffs of generated
    parsers when verifying changes.
  5. Seth Falcon

    Determine priv dir when in escript context using escript:script_name

    seth authored
    When neotoma is escript-ized, use escript:script_name to determine the
    location of neotoma's priv dir and peg_includes.hrl file. Using
    code:priv_dir or code:where_is_file in escript context give
    incorrect/difficult to interpret results.
  6. Seth Falcon

    Remove parent dir from lib_dirs for rebar.config

    seth authored
    This is not needed to build neotoma and can cause build problems
    depending on sibling directories of the checkout of neotoma.
Commits on Apr 8, 2013
  1. Isak Bakken

    Fix typo

    isakb authored
  2. Isak Bakken
  3. Isak Bakken
  4. Isak Bakken
Commits on Jan 18, 2013
  1. Merge pull request #19 from tuncer/spec

    authored
    Fix neotoma:file spec
  2. Tuncer Ayaz

    Fix neotoma:file spec

    tuncer authored
Something went wrong with that request. Please try again.