📑 Table of Contents
MLton
ParadigmMulti-paradigm: functional, imperative
FamilyML: Standard ML
First appeared1997; 29 years ago (1997)[1]
Stable release
20241230 / December 30, 2024; 17 months ago (2024-12-30)
Typing disciplinestrong, static, inferred
LicenseHistorical Permission Notice and Disclaimer[2]
Filename extensions.sml
Websitemlton.org
Influenced by
Standard ML

MLton is a whole-program optimizing compiler for the programming language Standard ML.[1] MLton development began in 1997,[1] and continues[3] with a worldwide community of developers and users, who have helped to port MLton to several computing platforms. It is free and open-source software released under a Historical Permission Notice and Disclaimer. MLton was a participating organization in the 2013 Google Summer of Code.

MLton aims to produce fast executables, and to encourage rapid prototyping and modular programming by eliminating inefficiencies often associated with high-level features.[1] It also aims to facilitate large-scale programming through the MLBasis system,[4] simplifying modularity and management of namespaces. As a whole-program compiler, it is notable for lacking an read–eval–print loop interactive top-level, common among Standard ML environments.[5]

MLton includes several libraries in addition to the Basis standard library including ML Language Processing Tools with an implementation of ANTLR, and MLRISC with code generators for reduced instruction set computers. It also implements features that aid in porting code from SML/NJ, one of the more popular SML implementations,[citation needed] including support for SML/NJ's compiling manager.

See also

edit

References

edit
  1. ^ a b c d Stephen Weeks (September 16, 2006). "Whole-Program Compilation in MLton" (PDF). ML Workshop 2006, invited lecture. Archived from the original (PDF) on June 29, 2007. Retrieved 2007-12-02.
  2. ^ "License". MLton.org. Retrieved 2021-11-30.
  3. ^ https://github.com/MLton/mlton
  4. ^ http://mlton.org/MLBasis
  5. ^ http://mlton.org/Drawbacks
edit

📚 Artikel Terkait di Wikipedia

Standard ML

an accurate and accessible reference implementation of the standard MLton (mlton.org): a whole-program optimizing compiler which strictly conforms to

Standard ML of New Jersey

of New Jersey version 110.79 News". 2015-10-04. "MLton 1999-03-19 change notes". GitHub. "The MLton repository". GitHub. "Three implementation efforts

Nabisco

Miami News. September 14, 1982. p. 10A – via Newspapers.com. Moskowitz, Mlton (July 6, 1982). "Dissolving A Poor Team: Nabisco Looks To Sell". Lancaster

Static single-assignment form

When calling a block the block arguments are bound to specified values. MLton, Swift SIL, and MLIR use block arguments. Block arguments make the connection

LLVM

February 19, 2013. "Scala Native". Retrieved November 26, 2023. "LLVMCodegen". MLton. Retrieved November 26, 2024. Wolfram Language Documentation Adam Treat

Beecham Group

The Daily Telegraph. No. 39580. p. 17 – via Newspapers.com. Moskowitz, Mlton (6 July 1982). "Dissolving A Poor Team: Nabisco Looks To Sell". Lancaster

Self-hosting (compilers)

Pyret Python (PyPy) Raku (Rakudo) Rust Scala Scheme Smalltalk Standard ML (MLton) Tcl TMG TypeScript V (Vlang) Vala Virgil Visual Basic .NET (Microsoft Roslyn

Type safety

including Standard ML of New Jersey (SML/NJ), its syntactic variant Mythryl and MLton, provide libraries that offer unsafe operations. These facilities are often