Usage such as up to now should be kept possible, importing PReFScript inside a Python program etc. However, I believe I can learn about declaring run() as an "entry point" so that installation with pipx is possible and provides just the interpreter, run as a standalone program on a file from the command line, and even as sort of a GUI and double-clicking on Windows.
Managed to do that since 1.0 - however, load() should not complain of missing main pragma when employed on objects declared after importing PReFScript, only when employed from the command-line interface.
Usage such as up to now should be kept possible, importing PReFScript inside a Python program etc. However, I believe I can learn about declaring
run()
as an "entry point" so that installation with pipx is possible and provides just the interpreter, run as a standalone program on a file from the command line, and even as sort of a GUI and double-clicking on Windows.