
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The operational semantics and type systems rules for the sint and typeint systems. It covers the basics of variable assignment, function definition, and function application using examples. This information is essential for anyone studying functional programming, especially those interested in the operational aspects of programming languages.
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Operational Semantics
SInt A ` n → n
SVar x^7 →^ v^ ∈^ A A ` x → v
SFun
A e 2 → v A, x 7 → v e 1 → v′ A ` (fun x = e 1 ) e 2 → v′^
SAdd
A e 1 → v 1 A e 2 → v 2 A ` + e 1 e 2 → v 1 + v 2
Type Systems
TInt A ` n : int
TVar x^ :^ t^ ∈^ A A ` x : t
TFun
A, x : t e : t′ A λx : t.e : t → t′^
TApp
A e 1 : t → t′^ A e 2 : t A ` e 1 e 2 : t′