links-lang / links

Links: Linking Theory to Practice for the Web
http://www.links-lang.org
Other
332 stars 42 forks source link

Refactor JS runtime API #1107

Open dhil opened 2 years ago

dhil commented 2 years ago

Patch #1087 refactors the JavaScript runtime. It is only an initial refactoring that compartmentalises and modularises code. The refactoring is particularly crude with regard to mailboxes, access points, and channels as the involved logic is rather convoluted.

We should redesign the interface of the core modules, e.g. _$Links, _$Proc, _$Session, _$Constants, _$Types.