-
Notifications
You must be signed in to change notification settings - Fork 1
meet 2024 05 10
Marten Lohstroh edited this page May 10, 2024
·
1 revision
- Attendees: Marten Lohstroh, Tassilo Tanneberger, Edward A. Lee, Vincenzo Barbuto
These are rough notes. Ideally, some of the things written here would be edited and formulated as requirements.
I have a program Foo.lf
that imports Baz
from Bar.lf
.
Bar.lf
is in a separate package. Assume that it has a TypeScript target, and the implementation of Baz
, uses an npm module called http
. This is specified in a package.json
in that other project. Now, I want to build Foo.lf
. How is this going to work?
- Merge package.json files (difficult)
- Bring dependencies into Lingo.toml (generate a package.json, amend package.json if one exists already)
- Workflow: maintainer of
Bar.lf
addshttp
dependencies toLingo.toml
, making the compilation ofFoo.lf
aware of the dependency. Thepackage.json
created for the importing package will include dependencies from the imported package. - Open question: Syntax for specifying target dependencies in
Lingo.toml
- Workflow: maintainer of
- Compile independently (also difficult, hard to generalize)
- Interface information has to be kept separate so the LF compiler knows what to do with the unit and preserve semantics
- Needed:
- Ports and types
- Causality interface
- Inheritance information
Paho library needs to be build; use cmake for this; importer needs to be aware of cmake-include
target property in MQTTSubscriber.lf
(or the Lingo.toml in the package).
What policy to follow? Merge? Override? In lfc
, the policy is property specific.