Hi,
I am looking for someone who can complete and fix an existent ANTLR3 grammar for text log files which are obtained from an external program. Currently when this grammar is compiled creates Python code that can consume those log files and produces a Python dictionary. However, there are several cases which produce a halt on the files consumption, it is because of some non-treated characters and has to be avoided. Also in the current grammar there is a lack of cases to be treated.
This grammar is a second version. First version, which will be provided, considered those cases that are not existent in current version. First version can be used to complete the second version. However it is desired that the delivered code is written like the second version (minimum changes for readability) and be improved where possible.
I'll provide all mentioned code, ANTLR used version (3.1.3), the grammar (new and old) version, and several unit-tests to be passed to accept the task as finished.
Thanks.
Alfred.
=============
Examples of line log inputs and its outputs:
RL 05/08/2013 - 21:43:33: Team "TERRORIST" scored "3" with "1" players
{'action': u'scored', 'type': u'globalmessage', 'from': u'team', 'value': u'3',
'team': u'TERRORIST', 'ldate': u'05/08/2013', 'ltime': u'21:43:33'}
RL 05/08/2013 - 21:43:33: "rules" = "map guns helmet"
{'type': u'vardef', 'ltime': u'21:43:33', 'values': [u'map guns helmet'],
'ldate': u'05/08/2013', 'name': u'rules'}
L 05/08/2013 - 21:43:33: "the_player<2><STEAM_0:0:45454545><TERRORIST>" triggered "Got_The_Bomb"
{'parameters': {}, 'object': None, 'player2': None, 'player1': {'steamid': u'45454545',
'type': 'unknown', 'name': u'the_player', 'team': u'TERRORIST'}, 'result': u'Got_The_Bomb',
'action': u'triggered', 'type': u'playerinfo', 'ldate': u'05/08/2013', 'ltime': u'21:43:33'}
Hello Alfred. I have significant experience in using Python for various data processing including parsing text files (please check reviews on my profile page). I'm ready to complete and fix your Python code according to your needs.
Hi Alfred,
Thanks to my experience with Python data parsing both on the day job and on various individual projects, I can deliver a fast and reliable solution for you.
I recently joined freelancer in an attempt to make some extra money so I am mainly looking to build up reputation, that is why I am willing to drop the price to the best offer you receive -5 EUR
Lookimg forward to collaborating with you.
Hola ¿Que tal? Yo tengo conocimientos en Python para poder hacer este proyecto. Por favor si esta usted interesado no dudes en contactar conmigo.
Un cordial saludo:
Francisco Jesús Navarro Cortés