In fact, you might want to do the hard work in a programming language and then use your scripting language to build out features. In theory, this should be easy. There are plenty of embedded ...
A scripting language may be a general-purpose programming language or it may be limited to specific functions used to augment the running of an application or system program. For example ...
However, if you are using some type of scripting language, binary file support might be a bit more difficult. One answer is to use a tool like xxd or t2b (text-to-binary) to handle the details.