• Stars
    star
    444
  • Rank 94,441 (Top 2 %)
  • Language
    F#
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

F# to JavaScript compiler with JQuery etc. mappings through a TypeScript type provider

FunScript

Please note: this project is not actively maintained anymore. Please look at these alternatives: Fable or WebSharper.

FunScript consists of a standalone F# to JavaScript compiler library and a Type Provider to TypeScript. FunScript lets you connect to client and server APIs with Intellisense and types automagically using F# 3's Type Provider mechanism.

Status:

  • Windows: TeamCity build status
  • Mono: Build Status

Compiler Library

The compiler library generates JavaScript code that can be run in-browser or server-side inside Node.js. Simply mark F# modules to be compiled with the ReflectedDefinition attribute. The compiler library has minimal dependencies and can be run inside either Visual Studio or MonoDevelop.

Contributing

Please help test the compiler libary and type provider by building samples and reporting issues.

More information

Please see the FunScript website.