8b563c8055
Pict is a language in the ML tradition, formed by adding a layer of convenient syntactic sugar and a static type system to a tiny core. The current release includes a Pict-to-C compiler, reference manual, language tutorial, numerous libraries, and example programs. The core language - an asynchronous variant of Milner, Parrow, and Walker's pi-calculus - has been used as a theoretical foundation for a broad class of concurrent computations. The goal in Pict is to identify high-level idioms that arise naturally when these primitives are used to build working programs - idioms such as basic data structures, protocols for returning results, higher-order programming, selective communication, and concurrent objects. The type system integrates a number of features found in recent work on theoretical foundations for typed object-oriented languages: higher-order polymorphism, simple recursive types, subtyping, and a powerful partial type inference algorithm.
15 lines
417 B
Text
15 lines
417 B
Text
$NetBSD: patch-yk,v 1.1.1.1 2009/10/28 06:13:40 dholland Exp $
|
|
|
|
Fix integer types for modern ocaml.
|
|
|
|
--- Pict/simplify.mli.orig 2009-10-27 20:40:19.000000000 -0400
|
|
+++ Pict/simplify.mli 2009-10-27 20:40:51.000000000 -0400
|
|
@@ -46,7 +46,7 @@ and value =
|
|
| VARv of Inter.atom
|
|
| BOOLv of bool
|
|
| CHARv of char
|
|
-| INTv of int
|
|
+| INTv of int32
|
|
| LETv of dec * value
|
|
| IFv of value * value * value
|
|
| ABSv of pat * proc
|