By Martin Elsman, 2008-2015 Introduction SMLtoJs (pronounced "SML toys") is a compiler from Standard ML to JavaScript, which allows programmers to enjoy the power of Standard ML static typing, higher-order functions, pattern matching, and modules for programming client-side web applications. SMLtoJs compiles all of Standard ML, including most of the Standard ML Basis Library. It also has support f