/FunScript

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

Primary LanguageF#Apache License 2.0Apache-2.0

FunScript

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.