This can then be serialized into binary. Now, we have a .proton file. This can then be fed into another program to read, deserialize and do something with the resulting object. This something is
Render all the elements
Execute the scripts
All that is needed is a way to package the Proton file and the program together into one, single executable.
Ever since I started this project, there has been one dangling thought in my head.
I think I might've found the solution.
It starts of with a simple JavaScript object:
This can then be serialized into binary. Now, we have a
.proton
file. This can then be fed into another program to read, deserialize and do something with the resulting object. This something isAll that is needed is a way to package the Proton file and the program together into one, single executable.