Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / Machine.adoc
CommitLineData
7f918cf1
CE
1Machine
2=======
3
4<:Machine:> is an <:IntermediateLanguage:>, translated from <:RSSA:>
5by <:ToMachine:> and used as input by the <:Codegen:>.
6
7== Description ==
8
9<:Machine:> is an <:Untyped:> <:IntermediateLanguage:>, corresponding
10to a abstract register machine.
11
12== Implementation ==
13
14* <!ViewGitFile(mlton,master,mlton/backend/machine.sig)>
15* <!ViewGitFile(mlton,master,mlton/backend/machine.fun)>
16
17== Type Checking ==
18
19The <:Machine:> <:IntermediateLanguage:> has a primitive type checker
20(<!ViewGitFile(mlton,master,mlton/backend/machine.sig)>,
21<!ViewGitFile(mlton,master,mlton/backend/machine.fun)>), which only checks
22some liveness properties.
23
24== Details and Notes ==
25
26The runtime structure sets some constants according to the
27configuration files on the target architecture and OS.