macMikey / LCB-missing-manual

I'm trying to learn LCB, again, but the docs are thin.
MIT License
4 stars 4 forks source link

splitting .lcb file #6

Closed macMikey closed 1 year ago

macMikey commented 1 year ago

Do the .lcb files have to be monolithic? What can I split out and how do I need to organize them?

bwmilby commented 1 year ago

Monolithic for the most part. There is an ability to compose widgets though.

bwmilby commented 1 year ago

From the 9.0 release notes:

Fix multi-module assembly support

The extension builder now supports multi-module assemblies properly. An extension folder can contain a main module, eg main.lcb, and any number of support modules, named -.lcb, which are then compiled together into one bytecode file. For example, it is useful when building cross-platform extensions to put the platform-specific code in a support module, so the extension folder would contain for example

macMikey commented 1 year ago

what about the docs, etc.?

macMikey commented 1 year ago

ali says "no"