Skip to content

Commit 7e11bfe

Browse files
committed
Update to 3.
1 parent 2b1ca7a commit 7e11bfe

1 file changed

Lines changed: 6 additions & 26 deletions

File tree

www/assignments/3.scrbl

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,14 @@
55
@(require "../../langs/con-plus/semantics.rkt")
66
@(require redex/pict)
77

8-
@bold{Part 1 Due: Wednesday, February 21, 11:59PM}
9-
10-
@bold{Part 2 Due: Wednesday, February 28, 11:59PM}
11-
8+
@bold{Due: Thursday, October 3, 11:59PM}
129

1310
The goal of this assignment is to extend the language developed in
1411
@secref{Dupe} with some simple unary numeric and boolean operations
1512
and two forms of control flow expressions: @racket[cond]-expressions
1613
and @racket[case]-expressions.
1714

18-
This assignment consists of two parts. Part 1 asks you to write a
19-
number of programs in the extended language. Part 2 asks you to
20-
implement the language.
21-
22-
@section[#:tag-prefix "a3-" #:style 'unnumbered]{Part 1}
23-
24-
For this part of the assignment, you must write a number of programs
25-
in the Dupe+ language. These programs should be syntactically
26-
well-formed and @bold{produce a value} when evaluated, i.e. these should
27-
be programs that do not cause run-time errors.
28-
29-
This exercise will help you understand the features you will be
30-
implementing in the second part of the assignment and can be used to
31-
test your compiler. In fact, we will use the programs you write to
32-
run against a collection of existing Dupe+ compilers to see if they
33-
uncover any bugs. The more bugs you can uncover, the better.
15+
@section[#:tag-prefix "a3-" #:style 'unnumbered]{Dupe+}
3416

3517
The Dupe+ language extends Dupe in the follow ways:
3618

@@ -103,13 +85,11 @@ Note that each clause consists of a parenthesized list of
10385
@emph{datums}, which in the setting of Dupe means either integer or
10486
boolean literals.
10587

88+
@section[#:tag-prefix "a3-" #:style 'unnumbered]{Implementing Dupe+}
10689

107-
@section[#:tag-prefix "a3-" #:style 'unnumbered]{Part 2}
108-
109-
For this part of the assignment, you must extend the parser,
110-
interpreter, and compiler to implement Dupe+. You are given a file
111-
@tt{dupe-plus.zip} on ELMS with a starter compiler based on the
112-
@secref{Dupe} language we studied in class.
90+
You must extend the parser, interpreter, and compiler to implement
91+
Dupe+. You are given a file @tt{dupe-plus.zip} on ELMS with a starter
92+
compiler based on the @secref{Dupe} language we studied in class.
11393

11494
You may use any a86 instructions you'd like, however it is possible to
11595
complete the assignment using @racket[Cmp], @racket[Je], @racket[Jg],

0 commit comments

Comments
 (0)