[RFC] How to implement command line tool integrating parsing engine

llandre r&d2 at dave-tech.it
Sat Mar 22 09:48:22 EDT 2008


Hi all,

I'd like to have some advices about how to implement a program that has 
the following requirements:
- it must run both on linux and windows PC
- it must interact with an electronic device connected to the PC through 
serial cable by sending/receiving some command strings and taking 
different actions depending on device responses; these strings and 
actions must be described in a text file (a sort of script) editable by 
user with a simple text editor; the language used to described this 
algorithm should be as simple as possible
- initially the program must be written in the form of simple command 
line tool that is invoked like this:
	program <script_file.txt>
- in the future, it must be possible to develop a graphical frontend on 
top of it; the resulting look&feel should be similar on linux and windows.

In this mailing list I was adviced to use python:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/37939

As I never used python, I ask you:
1) about the script file, which language - for which a parsing engine is 
already available in python - do you suggest?
2) about the graphical frontend, which graphical libraries do you recommend?


Thanks a lot in advance,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave.eu
email: r&d2 at dave-tech.it



More information about the Python-list mailing list