fluid icon indicating copy to clipboard operation
fluid copied to clipboard

Module design

Open rolyp opened this issue 4 years ago • 1 comments

Fluid needs some kind of basic module facility to support datatype definitions and separate compilation. (The current implementation is simplistic and requires work to support datatypes or imports.) We will also need a simple model of ES6 modules in Pure JSCore which can serve as a compilation target. (Initially we can omit features like module aggregation and import renaming.)

  • [ ] mutual recursion for top-level definitions
  • [ ] Object to be part of default class environment (with null superclass)
  • [ ] whole program/ambient definitions
  • [ ] collection Φ of primitives φ
  • [ ] optimise let to flatten nesting

rolyp avatar Mar 19 '22 11:03 rolyp

Migrated from obsolete js-compile project

rolyp avatar May 19 '24 12:05 rolyp