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:
This invalidates all parser or syntax-related issues (#16, #17, #20, #24, #25)
It will require the 'qualms' module to be deleted and replaced with a series of custom exceptions.
To be honest, it was only called 'qualms' to differentiate it from 'errors', but it was confusingly named.
The 'svst' module will also need to be deleted.
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.
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.
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.