(No Title)
I think we have a winner:
I have been, and still am, an avid Python user. I have never used Python in an embedding scenario, however, because I found it to be too painful to work with. When I encountered Lua 3.2, I felt like someone had opened up my skull, found all my criticisms of Python’s embedding and then used that to make a language and environment that did what I wanted it to.
Since then I have continued to use Python, of course. I find Python-because of its huge set of libraries-to be a more suited to general-purpose scripting and RAD work. I’m also very comfortable with Python’s syntax, quirks and all, so find that my fingers just naturally do things The Python Way. (The number of times I’ve been burned by using ’.’ instead of ’:’ as a method accessor in Lua would make most people choke with laughter.) I laugh, however, at even a hint of the slightest possibility of using Python for anything embedded. Lua is my tool of choice there.
I’m thinking that my new boy is Lua. Lua has the reputation (as seen above from a Wiki comment) as a widely-used OSS embedded scripting language. I realized that, while there was an official guide present on the subject, Python does not like to be embedded (the developers’ lack of interest in this may be reason for all the nastiness from the memory analyzer).
I’m going to look through the syntax, but I’m really thinking this is closer to what I’m looking for. It just needs to be user-friendly, extensible, and preferably lightweight. I know Lua is more lightweight. The jury is out as to whether or not it is more extensible and user-friendly.
Hope this works. I would definitely want to link this statically so as to avoid carting around a fairly rare .so or .dll along with the program.