Skip to content

Create a new STDIN format #12

Description

@timtadh

create a new standard input format for ./stat.py. Currently the format is very limiting and only allows syntax trees to be passed to the program. Now that gramstat can take other things like coverage information this information needs to be expressible on stdin.

proposal: use a json format

eg.

[
  a list of {
    'filename':str, 
    'ast':str, 
    'coverage':[ 
      a list of {
        'filename':str, 
        'total lines':int, 
        'excuted lines':[list of int]
      }
    ]
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions