trystyncote / scripted-video

This is a project that attempts to produce an animation-looking video based on a given script.
MIT License
0 stars 0 forks source link

Update the project to become a Python library instead. #26

Closed trystyncote closed 11 months ago

trystyncote commented 1 year ago

Scripted-Video is a project that, currently, is meant to be run as a program. However, this comes with a critical issue that risks a lot of development time: the parsing of an external file. Even more so, is the syntax that I'm trying to enforce needs to be developed as well as its result. This is a problem, because I want to include practical features, such as if-statements and for-loops.

This means I'm effectively developing my own programming language in Python, which was not what I truly wanted out of this project. What I wanted to create a wrapper around complex video-generation. To fix this, I think what I could do is change my project from a runnable program to a library that defines various modules to manage a video.

This delegates many immediate syntax errors to the Python interpreter, and leaves the core functionality to me. If I wanted to define my own language, it should not be written in Python in the first place.

This will inevitably result in various immediate changes to Scripted-Video:

For now, I'll be labelling this issue as 'not guarenteed', because at the time of writing it's past 23:30 (11:30pm), and I do not make key decisions at this time out of principle.

trystyncote commented 1 year ago

Ultimately, I think this change will require a new repository. This way, I do not have to untangle the code in a way and simply start over. That will result in this repository becoming archived.