lib/stubs/mlton-stubs/pre-mlton_sml.src
raw| 1 | (* Copyright (C) 2022 Matthew Fluet. |
| 2 | * |
| 3 | * MLton is released under a HPND-style license. |
| 4 | * See the file MLton-LICENSE for details. |
| 5 | *) |
| 6 | |
| 7 | structure PreMLton = |
| 8 | struct |
| 9 | |
| 10 | open MLton |
| 11 | |
| 12 | val debug = MLTON_DEBUG |
| 13 | |
| 14 | structure Platform = |
| 15 | struct |
| 16 | structure Arch = |
| 17 | struct |
| 18 | val host = "HOST_ARCH" |
| 19 | end |
| 20 | structure Format = |
| 21 | struct |
| 22 | val host = "executable" |
| 23 | end |
| 24 | structure OS = |
| 25 | struct |
| 26 | val host = "HOST_OS" |
| 27 | end |
| 28 | end |
| 29 | |
| 30 | end |