Skip to content

Discussion: Compiling FCS to JavaScript #679

@ncave

Description

@ncave

@7sharp9 @dsyme

Continuing the discussion from this thread, I'm looking for an advice on what would be a good replacement for BCL and FSharp.Core assembly metadata (types) in a JavaScript context.

Should we try to somehow export all the type metadata in some file format and use that instead of reading from assemblies? Can we generate F# type signatures from BCL and use that? If this misses the point entirely, any other ideas for a way forward? Essentially the missing piece is the TcGlobals.

Here is the current status:

  • Untyped AST parsing works
  • Typed AST is WIP, most of the files required for type checking already compile but still needs work as it's unclear (to me) atm what can we replace the BCL and FSharp.Core assembly metadata with.

You can take a look at the progress in this PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions