../
LoveApps / PseudOS
could also be called LoveApps becuase its a app interface system for Love2D. I do like the PseudOS name :) Just cant remember how to spell "pseudo" half the time. Bro got the waky enligsh.
log
2025-04-11
Today i'm working on a music video.
2025-04-10
OK, its all stable enough to be able to work on the experimental DAW. Epic.
2025-04-09
Today I defined the .lib and .slib file types. These are liraries specfic to PusedOS. A .lib is a folder that is ment to be run in a certain way by a certain lua function. We can also have a .lib.lua file. A .lib is defined as such. You can use ... in the file / files of the .lib to get acsess to the libraries table.
local miscLibrary = ...
function miscLibrary.someFunction()
return ';)'
end
Then inside an app we can do something like this. The includeLib takes care of initalizing and returning the library.
local app = ...
local miscLib = app:includeLib'miscLibrary'
print(miscLib.someFunction())
All Libraries have are given acsess to the LoveApps functions via their metatable's __index.
Folder libraries atomatically include any .libs they contain. Say given this folder stucture.
misc.app/
| init.lua
| child.app/
| | init.lua
| | coolFunctions.lib/
| | | dependent.lib/
| | | | init.lua
| | | init.lua
| | | extraStuff.lua
| main.lua
| .loveapps/
...
Love2D can run the misc.app triggering main.lua. main.lua loads LoveApps via the included .loveapps folder. LoveApps loads misc.app -> loads child.app (init.lua) -> loads coolFunctions.lib -> loads dependent.lib. You get the picture.
The main thing I need to figure out right now is Shared Libraries (.slib). These exsist mainly for the Ui system, which should not have seprate instances per LoveApp, but rather a main class. Saves on rescorces as well. The main thing is cross compatablity. How to include shared libs in the indevidual apps to make them atonimus, ect. Some main list of names so love apps are cross compatable? Who knows... The reason to make it a .slib not just part of LoveApps is because i'd like LoveApps to be able to create apps that don't need this Ui Library.
Currently getting the Autoloader working so that we can do work on the experimental DAW idea. :) shhh its a sequet