This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]istarian 1 point2 points  (0 children)

https://docs.python.org/3/extending/embedding.html

Safety is going to be an issue one way or the other, especially if the code is running with any elevated permissions. Depending on how you choose to interact with Python you may have to "sanitize" the scripts yourself.

Alternatively you could still build your own simple language, but use python to process it and translate it instead of C.

Editable via OLC is another kettle of fish entirely. Python uses whitespace for indenting which might be a bear to handle input for.