I need to write a small tool that parses text input and generates some binary encoded data. I would rather stay away from C and the like, in favor of a higher level (optional) of a safer, more expressive and faster development of the language.
My choice language for this kind of task is usually Python, but for this case, processing binary source data can be problematic if you are not very careful with numbers that advance to bignums, signature extensions, etc.
Ideally, I would like to have records with named bit fields that are portable for sequential sequential processing.
(I know that there is a strong side to this in a language that I have already mastered, although this is not optimal, but I think this may be a good opportunity to learn something new).
Thanks.
source share