A genetic programming based tool to generate file converters
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
AUTHORS
LICENSE
README.md
baseparser.py
compare_parsed.py
ga.py
genetic_algorithm.py
individual.py
parameters.py
primitives.py

README.md

A genetic programming based tool to generate file converters. Better description on this blog post: http://biais.org/use-genetic-programming-to-generate-file-converters/

Generate a file converter

$ cd gaparser/
$ python ga.py tests/sample1.txt tests/sample1.expected sample1-parser1.result

Run a file converter

$ python baseparser.py  tests/sample1a.result tests/full1.txt