-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for connecting multiports in TypeScript runtime. #81
Conversation
…callee ports separately.
…-multiport # Conflicts: # src/core/bank.ts # src/core/reactor.ts
…np, and remove unused code.
…-multiport # Conflicts: # src/core/bank.ts
Address cyclic dependencies + fix multiports
…e using classes from federation.ts.
…agnosing the bankIndex issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There a lot that can still be improved upon, but this is already a good step in the right direction. Perhaps we should prioritize more cleanups and getting reactor-ts
published on NPM so we can have a cleaner integration with LF (rather than copy code from a submodule).
import {App, Triggers, Args} from '../src/core/reactor'; | ||
import {Origin, TimeValue} from '../src/core/time'; | ||
import {Reactor, Timer, Action, Sched} from '../src/core/reactor'; | ||
import {App, Triggers, Args, Origin, TimeValue, Reactor, Timer, Sched, Action} from '../src/core/internal'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests should probably not use the internal exports but the external ones, which we yet have to set up.
@@ -0,0 +1,109 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note sure whether we should have a dedicated file for types. Probably better to put these in files together with classes they relate to.
Relevant PR: lf-lang/lingua-franca#942
Relevant Issue: #57