Skip to content

Releases: Hashbrown777/typescript-native

Proof of concept

27 Jan 02:40
365a3f7
Compare
Choose a tag to compare
Proof of concept Pre-release
Pre-release

Has working demos of;

  • importing embedded and imported ts files —
    • including working with .d.ts files
    • allowing registration of files to specific import identifiers
  • configuration of compilation, via —
    • compiler options
    • different versions of the compiler
  • handling all sorts of errors, such as —
    • cyclical imports
    • exceptions when generated code runs
    • duplicate registrations

Next will be;

  • using real modules instead of just es6+closures
  • refining compilation sandboxing —
    • which uses an iframe that auto-destroys itself
    • implementing running of added ts <script>s as with javascript
  • allowing cross-play with actual js & modules —
    • might already be there, but need to test
  • supporting url imports
  • creating more generic registration formats —
    • like in-javascript instead of just in-html
  • better support of different compiler versions —
    • maybe not officially supporting them, but at the very least making it easier for the user to switch them (at the moment it only accepts tags of the real github and fetch()s the compiler directly from the raw there)

Later:

  • permitting reasonable cyclical imports
  • adding compatibility with es5-only browsers