Книга: Functional Programming in JavaScript
Назад: Using functional libraries with other JavaScript modules
Дальше: Summary

Functional languages that compile into JavaScript

Sometimes the thick veneer of C-like syntax over JavaScript's inner functionality can be enough to make you want to switch to another functional language. Well, you can!

  • Clojure and ClojureScript
    • Closure is a modern Lisp implementation and a full-featured functional language
    • ClojureScript trans-compiles Clojure into JavaScript
  • CoffeeScript
    • CoffeeScript is the name of both a functional language and a compiler for trans-compiling the language into JavaScript
    • 1-to-1 mapping between expressions in CoffeeScript and expression in JavaScript

There are many more out there, including Pyjs, Roy, TypeScript, UHC and more.

Назад: Using functional libraries with other JavaScript modules
Дальше: Summary

bsn
thank
Vesa Karvonen
I hope you don't mind, but I’d like to point you and your readers to my high-performance optics library for JavaScript that is in production use in multiple projects, has comprehensive support for partial optics and interactive documentation: https://calmm-js.github.io/partial.lenses/ (this takes a moment to load — be patient!)