newspeaklanguage / newspeak

Newspeak is a live object-capability language in the Smalltalk tradition
https://newspeaklanguage.org/
Other
132 stars 11 forks source link

Document deployment inhibited by resource dependencies #123

Closed gbracha closed 7 months ago

gbracha commented 12 months ago

A document is represented as an HTML file. The problem is that it is not self-contained. If we reference other documents, or resources such as images, or other classes, then we have to make sure these are available. There isn't a good way to package them all together. Currently, the best we can do is create a dedicated application (a vfuel file) that has all the requisite objects loaded. This may be acceptable if we can automate this process and make it efficient.

gbracha commented 9 months ago

This is being resolved by changing the representation of documents to use zip files that contain all resources & dependencies. This is a work in progress.

gbracha commented 9 months ago

Works for images, but not for code dependencies, transcluded documents, or video/audio.

gbracha commented 9 months ago

See https://github.com/newspeaklanguage/newspeak/commit/a825d9f4d0cca9d3df1f47613913b3b4dc2fe0a4 for current status.

gbracha commented 8 months ago

Video/audio streams are the only piece remaining. They'll be resolved once drag and drop works for them.

gbracha commented 7 months ago

Fixed video & audio including save & load in https://github.com/newspeaklanguage/newspeak/commit/57f4feba7389c626c62df2a1b29087c761ca3373