I think Python is the best idea for embedding scripting. Fusion 360 supports add-ins and scripts written in Python and they are dropping support for other languages. I use an addin for OneNote that lets me write scripts in Python. I have heard of quite a few other projects that also support Python. Embedding a python interpreter is relatively easy. An aside, referring to another comment about Lua: At a company I worked for they had use Lua for several things. They constantly regretted that choice and were trying to untangle the mess when I left.
Julie777
Posts
-
Embedding scripting/python into an application - an successful examples? -
A VM that can get around Windows 11's hypervisor and VT security nonsense?You can set git to use the line endings of your choice. I have git set to use '\n' all the time on all platforms. I set "text eol=lf" ref: href="https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
-
C declarations are half backwardIt's hard to believe that of all the replies no one has ever read K&R C. A variable declaration consists of a type and name and possibly a type reference spec such as * or []. Multiple variable declarations may be combined in a single statement (line) if they are the same type. this is why reference specs go with the name
char *sz, sz2[], sz3[1024];
Types and reference specs can also have modifiers which are can get very confusing with multiple declarations combined on a line.
static const char sz4, *sz5, const *sz6;
Add initializers and you will see why it's pretty standard now days to put one declaration per line.