All knowing swamp....
I'm looking for a starting point. I've got this idea for a transparent unit converter that I want to code, but I'm not sure where to start. The program would allow users to transparently enter alternate units in their drawing. e.g. If drawing in inches, you could enter 1mm and it would convert the 1mm to the equivalent inch measurement & input the result.
My thought is to listen to the command prompt, and when a keyword is invoked (say mm, or m or parsecs...) an event would be triggered (a lisp converter) that intercepts the entry and replaces it with the calculated value.
I'm looking forward to coding this, but I'm not sure where to start. Is there an reactor that listens to entries at the command line? I haven't found any yet, but my eyesight isn't that good.
Any and all suggestions are welcome. Thanks much.