links-lang / links

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

Options for linking JS runtime #1113

Closed dhil closed 2 years ago

dhil commented 2 years ago

This patch is a follow-up on patch #1083. This patch adds two new (experimental) options to Links -Ljs-runtime and -Xcustom-js-runtime. The former option instructs the Links compiler to statically link the JavaScript runtime into a JavaScript compilation artefact. The latter option lets the user override the default JavaScript runtime (i.e. jslib.js) with a runtime of their own choosing.