Compiler.
-
Added an experimental LLVM codegen (
-codegen llvm); requires LLVM tools (llvm-as,opt,llc) version ≥ 3.7. -
Made many substantial cosmetic improvements to front-end diagnostic messages, especially with respect to source location regions, type inference for
funandval recdeclarations, signature constraints applied to a structure,sharing typespecifications andwhere typesignature expressions, type constructor or type variable escaping scope, and nonexhaustive pattern matching. -
Fixed minor bugs with exception replication, precedence parsing of function clauses, and simultaneous
sharingof multiple structures. -
Made compilation deterministic (eliminate output executable name from compile-time specified
@MLtonruntime arguments; deterministically generate magic constant for executable). -
Updated
-show-basis(recursively expand structures in environments, displaying components with long identifiers; append(* @ region *)annotations to items shown in environment). -
Forced amd64 codegen to generate PIC on amd64-linux targets.