Commit graph

15 commits

Author SHA1 Message Date
d4a9420bc7 Patch PA4 for missing yylex
Some checks reported errors
continuous-integration/drone/push Build was killed
libfl is missing yylex symbol. Since libfl is not necessary for the semantic
analyzer, just remove `-lfl` from the Makefile.
2021-01-03 13:16:52 +01:00
032f8a5714 Download additional resources
All checks were successful
continuous-integration/drone/push Build is passing
Scrape:
- https://web.stanford.edu/class/cs143/
- http://openclassroom.stanford.edu/MainFolder/courses/Compilers/docs

Both contain resources not found in the edx course. Among others:
- LaTeX sources for assignments
- Slides (annotated and un-annotated)
- Previous finals for practicing
2020-12-26 17:21:39 +01:00
5a5b9d9e09 Also patch cool.y in PA3
All checks were successful
continuous-integration/drone/push Build is passing
Same issue as in 5ef0aff5b5
2020-12-22 03:04:31 +01:00
05a3784af3 Use new flex
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-21 05:36:39 +01:00
1b5437b6f4 Copy build context for patch file
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-20 00:14:14 +01:00
5ef0aff5b5 Patch cool.flex for flex > 2.5.39
Some checks failed
continuous-integration/drone/push Build is failing
flex (and libfl) expect a symbol yyflex. This symbol is overwritten and expected
to be cool_yyflex in the cool compiler. This patch makes both happy. In addition
fixes name mangling issues with c++ compilers which otherwise may mangle
yyflex (which is a fixed symbol in c-compiled libfl).
2020-12-20 00:00:09 +01:00
4fdaf40671 Patch tar in grading.pl scripts
All checks were successful
continuous-integration/drone/push Build is passing
`grade.pl` scripts contain packed test data. The scripts extract the data
to the `grading` folder in the respective `assignments/PA[2-4]J?` folders. When
running tar as superuser it defaults to `--preserve-permission` `--same-owner`.
Since the packed data is owned by sjt:operator, the folder may be inaccessible
from the host.

By patching in `-o` to the tar command we disable `--same-owner` which creates
the `grading` folder with root:root (translated to the PID:GID of the user
running the container at least in podman).
2020-12-19 11:27:19 +01:00
efe5b75d03 Add gdb and instructions
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-18 14:19:49 +01:00
85d7881524 Use flex-old for compatibility
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-15 17:39:52 +01:00
f38d8d0642 Add podman commands
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-15 10:10:17 +01:00
64ea1421b6 Small spelling fixes
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-15 10:02:39 +01:00
4937567c17 Add Contribute and GitHub section
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-15 04:36:54 +01:00
de2075c53e Usage
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-15 04:28:31 +01:00
d5a33aa100 Add drone build
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-15 04:06:53 +01:00
f420a35fe0 Init 2020-12-15 03:55:23 +01:00