Skip to content

Commit

Permalink
Update for Lec 3
Browse files Browse the repository at this point in the history
  • Loading branch information
myreen committed Apr 9, 2018
1 parent 29c2997 commit db9540c
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 97 deletions.
4 changes: 2 additions & 2 deletions deploy_website.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

runghc website.hs build
rsync -avzh --exclude '*.swp' _site/* alexg@remote12.chalmers.se:/chalmers/groups/edu2009/www/www.cse.chalmers.se/course.2017/TDA283_Compiler_Construction/
runghc website.hs build
rsync -avzh --exclude '*.swp' _site/* myreen@remote12.chalmers.se:tda283/
Binary file modified files/lect01-6up.pdf
Binary file not shown.
Binary file modified files/lect02-6up.pdf
Binary file not shown.
Binary file modified files/lect03-6up.pdf
Binary file not shown.
Binary file modified files/tester.tar.gz
Binary file not shown.
26 changes: 5 additions & 21 deletions pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ The official syllabus can be found [here]($syllabus$).

<a name="teachers"></a>

Teachers
--------
Teacher
-------

* **Course responsible**:
* **Course responsible and examiner**:
\$if(teacherbio)\$
[\$teacherfull\$](\$teacherbio\$)
\$else\$
Expand All @@ -51,26 +51,10 @@ Teachers
\$if(teacherhours)\$
Office hours: \$teacherhours\$
\$endif\$
\$if(examinerfull)\$
* **Examiner**:
\$if(examinerbio)\$
[\$examinerfull\$](\$examinerbio\$)
\$else\$
\$examinerfull\$
\$endif\$<br>
Phone: \$examinerphone\$<br>
Email: \$examineremail\$<br>
\$if(examineroffice)\$
Office: \$examineroffice\$<br>
\$endif\$
\$if(examinerhours)\$
Office hours: \$examinerhours\$
\$endif\$
\$endif\$


Assistants
----------
Assistant
---------

<ul>
\$for(assistants)\$
Expand Down
15 changes: 8 additions & 7 deletions pages/evaluation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ model](https://student.portal.chalmers.se/en/chalmersstudies/courseinformation/c
Your input is important for the further development of the course!


Course representatives
----------------------
Course representatives for 2018
-------------------------------

- Pierre Kraft (pierrek "at" student.chalmers.se)
- Frederik Hanghøj Iversen (hanghj "at" student.chalmers.se)
- Karin Wibergh (karin.wibergh "at" gmail.com)
- Mehmet Atakan Serin (atakan "at" student.chalmers.se)
- Albin Hellqvist (albhel "at" student.chalmers.se)
- Albert Overland (overland "at" student.chalmers.se)
- Raphael Isemann (isemann "at" student.chalmers.se)


Midterm meeting notes
---------------------
Midterm meeting notes from 2017
-------------------------------

On the 26th of April 2017 we have had the midterm meeting. The following points
were brought up during the meeting:
Expand Down
22 changes: 4 additions & 18 deletions pages/exam.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ The project is divided into three parts with separate submission dates:
directory, provided by the [testsuite](/project#testing). Your submission
must be prepared according to ['submission'](/project#submission_format) section in
the project description and pass the automatic tester.

Front end issues are part of the syllabus for the prerequisite course
Programming language technology. These things are not taught in this course.
You are expected to be able to implement the lexer, parser and typechecker
for Javalette using previous knowledge during the first week of this course.

The deadline for the first submission is *\$deadline1\$*. The deadline is
sharp; the submission system will not accept late submissions. Of course, if
you are ill or have another good reason, you may get an extended deadline,
Expand Down Expand Up @@ -95,19 +95,5 @@ The oral exam can take place even if your project was rejected for you to make
some minor corrections. However, if we could not test your compiler at all, the
oral exam will be postponed.

Please pick a slot using the doodle below:

[https://doodle.com/poll/58q6pf36hhmcbr4k](https://doodle.com/poll/58q6pf36hhmcbr4k)

The oral exams will be in EDIT 6128 and both the examiner (\$examinerfull\$) and
the course responsible (\$teacherfull\$) will be present.

Re-sit exam
-----------

In the re-exam week in December there is an opportunity to redo the *oral* exam.
Note that this only concerns students who failed the original oral exam. It is
not possible to submit new versions of your compiler in Fire. So, it is a
prerequisite that the submissions for the different parts in Fire are accepted.
The re-sit oral exam will take place on *Monday 18 December 2017*. Please
contact \$teacher\$ if you want to make use of this opportunity.
Closer to the time of the exam week, there will be a link here to a
doodle where you can pick a time for your oral exam.
85 changes: 36 additions & 49 deletions website.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,9 @@ import CCWF
materials = Materials
{ -- Latest news, in order from newest to latest. Can contain markdown.
newsItems =
[ "November 24. There is going to be a re-sit oral exam. See the [examination](/exam) page."
, "May 22. Please book a slot for the [oral exam](/exam#oral) using [this doodle](https://doodle.com/poll/58q6pf36hhmcbr4k)."
, "May 17. We moved the last (guest) lecture to Wednesday 24 May at 10:00."
, "May 15. The notes of the midterm meeting are now available on the\
\ [course evaluation page](/evaluation)."
, "May 15. We moved next week's guest lecture to Monday 22 May at 13:00, due\
\ to collisions with other teaching for both the guest lecturer (Magnus Myreen) and me."
, "May 9. We have updated the test suite. We experienced some trouble with newer\
\ Debian based operating systems. They have increased a number of security\
\ aspects that cause compilation to fail. This can be fixed with an extra flag for\
\ GCC during linking. If you experience trouble with this, you can give the\
\ `-g-no-pie` flag to the test suite, which passes it on to GCC."
, "April 28. No office hours on Thursday 4 May (I am abroad)."
, "April 26. The deadline of part B has been extended with a week."
, "April 25. Extra lecture on Friday 28 April, catching up from last week."
, "April 20. No lecture on Friday 21 April. (lecturer is sick)"
, "March 20. We will start the course this week on Friday from 13:15 to 15:00. All welcome!"
, "March 17. Birth of the new course homepage - it now looks *fabulous* on mobile devices!"
[ "Mar 26. Made sure **submission instructions** are part of the project page."
, "Mar 26. Test suite has been tweaked."
, "Mar 26. Added lecture notes for Lec 1 and Lec 2."
]

-- All lectures for the course. These make up the table on the @lectures@
Expand All @@ -34,24 +19,26 @@ materials = Materials
-- into the @files@ subdirectory before rebuilding the course homepage, to
-- ensure that they all get included.
, lectures =
[ Lecture "March 24" "Introduction, project overview"
[ Lecture "March 20" "Introduction, project overview"
[("new", "lect01-6up.pdf")]
, Lecture "March 31" "Software Engineering for Compilers"
, Lecture "March 23" "Software Engineering for Compilers"
[("new", "lect02-6up.pdf"), ("code", "state.tar.gz")]
, Lecture "April 7" "LLVM: tools, language"
, Lecture "April 9" "LLVM: tools, language"
[("new", "lect03-6up.pdf")]
, Lecture "April 25" "Code generation for LLVM"
[("new", "lect04-6up.pdf"), ("code", "evenodd.ll")]
, Lecture "April 28" "Project extensions: arrays, dynamic structures, objects"
[("new", "lect05-6up.pdf")]
, Lecture "May 2" "Code generation for x86"
[("new", "lect06-6up.pdf")]
, Lecture "May 9" "Functions"
[("new", "lect07-6up.pdf")]
, Lecture "May 16" "Control flow graphs, data analysis"
[("new", "lect08-6up.pdf")]
, Lecture "April 10" "Code generation for LLVM"
[("old", "lect04-6up.pdf"), ("code", "evenodd.ll")]
, Lecture "April 17" "Project extensions: arrays, dynamic structures, objects"
[("old", "lect05-6up.pdf")]
, Lecture "April 27" "Code generation for x86"
[("old", "lect06-6up.pdf")]
, Lecture "May 4" "Functions"
[("old", "lect07-6up.pdf")]
, Lecture "May 8" "Control flow graphs, data analysis"
[("old", "lect08-6up.pdf")]
, Lecture "May 15" "*to-be-announced*"
[]
, Lecture "May 22" "Guest lecture/project summary"
[("new", "lect09-6up.pdf"), ("guest", "/guest_lecture_myreen-6up.pdf")]
[("old", "lect09-6up.pdf")]
]

-- Files we provide that are not tied to any particular lecture.
Expand All @@ -70,7 +57,7 @@ info = Info
-- The study period in which the course is given.
, studyPeriod = 4
-- The year this particular course is given.
, courseYear = 2017
, courseYear = 2018
-- Name of course responsible, plus email.
-- This is parameterized to make course handovers easier, since the name
-- and/or email of the course responsible pops up here and there throughout
Expand All @@ -81,12 +68,12 @@ info = Info
-- as @teacherphone@, office as @teacheroffice@ and office hours as
-- @teacherhours@.
, teacher = Teacher
{ teacherName = "Alex Gerdes"
, teacherEmail = "alexg \"at\" chalmers.se"
, teacherBioURL = Just "https://www.chalmers.se/en/staff/Pages/alexg.aspx"
, teacherPhone = "+46 31 772 61 54"
, teacherOffice = Just "EDIT 6479"
, teacherHours = Just "Thursdays 13:00--15:00, EDIT 6479"
{ teacherName = "Magnus Myreen"
, teacherEmail = "myreen \"at\" chalmers.se"
, teacherBioURL = Nothing
, teacherPhone = "+46 31 772 16 64"
, teacherOffice = Just "EDIT 5452"
, teacherHours = Just "10:00-11:45 on Mondays"
}

-- The examiner of the course, if different from the course responsible.
Expand All @@ -99,30 +86,30 @@ info = Info
, teacherHours = Nothing
}


-- Same information as for 'teacher'. All fields of the first assistant
-- are available to templates the same as for @teacher@, but with the
-- prefix @assistant@ instead of @teacher@.
-- The full list of assistants is available as @assistants@.
, assistants =
[ Teacher
{ teacherName = "Anton Ekblad"
, teacherEmail = "anton.ekblad \"at\" chalmers.se"
{ teacherName = "Oskar Abrahamsson"
, teacherEmail = "aboskar \"at\" chalmers.se"
, teacherPhone = "+46 31 772 10 28"
, teacherBioURL = Nothing
, teacherOffice = Just "EDIT 5463"
, teacherOffice = Just "EDIT 5461"
, teacherHours = Nothing
}
]

-- URL of the official course syllabus for 2017.
-- URL of the official course syllabus for 2018.
-- This changes every year: don't forget to update!
-- Available to templates as @syllabus@.
, syllabusURL = "https://www.student.chalmers.se/sp/course?course_id=24405"

-- URL of the Google group for this year's instance. Don't forget to update!
-- Available to templates as @group@.
, googleGroupURL = Just "https://groups.google.com/d/forum/compiler-construction-vt17"
, googleGroupURL = Just "https://groups.google.com/d/forum/compiler-construction-vt18"

-- URL of the lab submission system used this year, if any.
-- Don't forget to update!
Expand All @@ -136,13 +123,13 @@ info = Info
-- The deadlines for the labs.
-- Available to templates as @deadline1/2/3/n@.
, labDeadlines =
[ "Sunday, April 9 at 23:59"
, "Sunday, May 7 at 23:59"
, "Sunday, May 21 at 23:59"
[ "Sunday, April 8 at 23:59"
, "Sunday, May 6 at 23:59"
, "Sunday, May 20 at 23:59"
]
}

fire = "https://cc-lp4-17.frs.cse.chalmers.se"
fire = "https://cc-lp4-18.frs.cse.chalmers.se"

subst = Subst
[ ("javalette", "[Javalette](/project#javalette)")
Expand Down

0 comments on commit db9540c

Please sign in to comment.