Skip to content

Commit 85e844b

Browse files
committed
plai typed update: use plai-typed/untyped to speed things up
1 parent 2b314e0 commit 85e844b

25 files changed

+655
-24
lines changed

base/builtins/bool.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt"
44
"../util.rkt"

base/builtins/dict.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt")
44
(require "../util.rkt"

base/builtins/file-util.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
(define (close-file port)
1515
(if (output-port? port)
1616
(close-output-port port)
17-
(close-input-port port)))
17+
(close-input-port port)))

base/builtins/file.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt")
44
(require "../util.rkt"

base/builtins/list.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt"
44
"../util.rkt"

base/builtins/method.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
;; method - the bound method object, includes classmethod, staticmethod and super.
44

base/builtins/none.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt"
44
"../util.rkt"

base/builtins/num.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt")
44
(require "../util.rkt"

base/builtins/object.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
;; object - the base-class of everything
44
(require "../python-core-syntax.rkt"

base/builtins/set.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt")
44
(require "../util.rkt")

base/builtins/str.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt"
44
"../util.rkt"

base/builtins/tuple.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "../python-core-syntax.rkt")
44
(require "../util.rkt"

base/builtins/type.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
;; type - the metaclass of everything
44
(require "../python-core-syntax.rkt"

base/python-core-syntax.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
#|
44

base/python-desugar.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-lexical-syntax.rkt"
44
"python-core-syntax.rkt"

base/python-interp.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-core-syntax.rkt"
44
"python-primitives.rkt"

base/python-lexical-syntax.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(define-type LocalOrGlobal
44
[Locally-scoped]

base/python-lib-bindings.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-core-syntax.rkt"
44
"builtins/num.rkt"

base/python-lib.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-core-syntax.rkt")
44
(require "builtins/num.rkt"

base/python-phase1.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-syntax.rkt"
44
"python-core-syntax.rkt"

base/python-primitives.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-core-syntax.rkt"
44
"util.rkt"

base/python-syntax-operations.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-syntax.rkt"
44
"python-core-syntax.rkt"

base/python-syntax.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(define-type PyExpr
44
; control structures

base/util.rkt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#lang plai-typed
1+
#lang plai-typed/untyped
22

33
(require "python-core-syntax.rkt")
44

plai-typed-18Feb2013.plt

+631
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)