This is a simple program that parses data files contained in the /data
folder using formats specified in the /specs
folder.
The whole program is written in F#.
cd ./DataParser.Console/
- Feed your data files under the
/data
folder and your spec files under the/specs
folder dotnet run -c Release
- The resulting output will be contained under the
/output
folder
Unit tests can be found under ./DataParser.Tests
, these can be run with:
cd ./DataParser.Tests/
dotnet test
A docker image can be built by using the Dockerfile
/docker-compose.yml
file provided in the root directory.
- The program will halt when any spec file cannot be parsed
- This assumes all spec files must be in the correct formats before the program will continue processing data files
- Current error only contains partial information for troubleshooting