Skip to content
This repository
branch: master

Feb 19, 2014

  1. Sean Cribbs

    Re-bootstrap to remove dialyzer warning from meta-grammar.

    authored
  2. Sean Cribbs

    Merge pull request #27 from Vagabond/adt-dialyzer-and-xref

    Fix a dialyzer warning in generated code and add xref target to makefile
    authored
  3. Andrew Thompson

    Fix a dialyzer warning in generated code and add xref target to makefile

    Vagabond authored

Jan 27, 2014

  1. Sean Cribbs

    Fix a few dialyzer bugs found by chef_index.

    authored

Jan 02, 2014

  1. Sean Cribbs

    Avoid emitting unused combinators via macros.

    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.
    authored
  2. Sean Cribbs

    Fix `make test`.

    authored
  3. Sean Cribbs

    Add a few more type signatures.

    authored

Jan 01, 2014

  1. Sean Cribbs

    Add specs and types to the core parser and generator.

    authored
  2. Sean Cribbs

    Add a recent rebar and update the Makefile for dialyzer.

    authored

Aug 02, 2013

  1. Sean Cribbs

    Use git version and bump.

    authored
  2. Sean Cribbs

    Merge branch 'master' into 1.6-stable

    authored
  3. Sean Cribbs

    Guard errors from file:read_file/1 and rebootstrap.

    authored
  4. Sean Cribbs

    Fix bootstrapping.

    authored

Apr 23, 2013

  1. Sean Cribbs

    Bump to 1.6.1

    authored
  2. Sean Cribbs

    Merge branch 'master' into 1.6-stable

    authored
  3. Sean Cribbs

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

    Restore previous formatting to generated parser code
    authored
  4. Sean Cribbs

    Merge pull request #23 from seth/sf/script_name

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

    Restore previous formatting to generated parser code

    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.
    seth authored
  6. Seth Falcon

    Determine priv dir when in escript context using escript:script_name

    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.
    seth authored
  7. Seth Falcon

    Remove parent dir from lib_dirs for rebar.config

    This is not needed to build neotoma and can cause build problems
    depending on sibling directories of the checkout of neotoma.
    seth authored

Apr 08, 2013

  1. Sean Cribbs

    Merge pull request #22 from isakb/fix-issue-20-typo

    Fix typos
    authored
  2. Isak Bakken

    Fix typo

    isakb authored
  3. Sean Cribbs

    Merge pull request #21 from isakb/fix-issue-20

    Fix issue #20
    authored
  4. Isak Bakken

    Warn about unused vars now that they are not generated

    isakb authored
  5. Isak Bakken

    Update parser with chages to grammar

    isakb authored
  6. Isak Bakken

    Underscore _Node and/or _Idx when unused

    isakb authored

Jan 18, 2013

  1. Sean Cribbs

    Merge pull request #19 from tuncer/spec

    Fix neotoma:file spec
    authored
  2. Tuncer Ayaz

    Fix neotoma:file spec

    tuncer authored

Jan 12, 2013

  1. Sean Cribbs

    Merge branch 'pr/13' into 1.6-stable

    authored
  2. Sean Cribbs

    Merge branch 'pr/13'

    authored
  3. Sean Cribbs

    Bump to 1.6.0. [ci skip]

    authored
  4. Sean Cribbs

    Modernize the Travis config.

    authored
  5. Sean Cribbs

    Merge pull request #18 from nevar/regexp_new

    Add suport regexp in rule
    authored
  6. Slava Yurin

    Add test for regexp

    nevar authored
  7. Slava Yurin

    Add suport regexp in rule

    You can specify regexp in rule between '/'.
    Example:
        rule <- #(?i)command# arg1 arg2 ~;
    nevar authored
Something went wrong with that request. Please try again.