Compare commits

...
3 Commits
Author SHA1 Message Date
HEL 873dc440b8 fix(report): correct T-Assign
thanks @sjrd and @kyouko-taiga
2026-08-24 14:01:29 +02:00
HEL 123a65addf fix: minor typo
missing 'r' in 'Programming'
thanks @pmudry
2026-08-24 13:59:44 +02:00
HEL c5b703efe8 fix(presentation): minor tweaks 2026-08-24 01:10:58 +02:00
5 changed files with 11 additions and 7 deletions
+7 -3
View File
@@ -8,6 +8,7 @@ report_out_path := outdir / "report.pdf"
summary_out_path := outdir / "summary.pdf" summary_out_path := outdir / "summary.pdf"
poster_out_path := outdir / "poster.pdf" poster_out_path := outdir / "poster.pdf"
presentation_out_path := outdir / "presentation.pdf" presentation_out_path := outdir / "presentation.pdf"
presentation_handout_path := outdir / "presentation_handout.pdf"
presentation_pdfpc_path := outdir / "presentation.pdfpc" presentation_pdfpc_path := outdir / "presentation.pdfpc"
default: all default: all
@@ -45,7 +46,10 @@ presentation: _setup
typst c --root . presentation/presentation.typ {{presentation_out_path}} typst c --root . presentation/presentation.typ {{presentation_out_path}}
typst eval --root . 'query(<pdfpc-file>).first().value' --in presentation/presentation.typ > {{presentation_pdfpc_path}} typst eval --root . 'query(<pdfpc-file>).first().value' --in presentation/presentation.typ > {{presentation_pdfpc_path}}
present: presentation presentation-handout: _setup
pympress {{presentation_out_path}} typst c --root . --input handout=true presentation/presentation.typ {{presentation_handout_path}}
all: report summary poster presentation present: presentation
pdfpc {{presentation_out_path}}
all: report summary poster presentation presentation-handout
+1 -1
View File
@@ -121,7 +121,7 @@
caption: [Implementation architecture overview] caption: [Implementation architecture overview]
) <fig:architecture> ) <fig:architecture>
First, typing rules were formally defined, drawing heavily on _Types and Progamming Languages_@tapl. First, typing rules were formally defined, drawing heavily on _Types and Programming Languages_@tapl.
The implementation of the parser for the definition language follows R. Nystrom's _Crafting Interpreters_@Nystrom2021. The whole system is itself implemented in Python, leveraging the language's own `ast` module to parse and manipulate source code. The implementation of the parser for the definition language follows R. Nystrom's _Crafting Interpreters_@Nystrom2021. The whole system is itself implemented in Python, leveraging the language's own `ast` module to parse and manipulate source code.
The type checker also includes some machinery to infer the result types of several *dataframe operations* and *aggregation methods*. The type checker also includes some machinery to infer the result types of several *dataframe operations* and *aggregation methods*.
] ]
+1 -1
View File
@@ -6,8 +6,8 @@
#pdfpc.config( #pdfpc.config(
start-time: datetime(hour: 13, minute: 15, second: 0), start-time: datetime(hour: 13, minute: 15, second: 0),
end-time: datetime(hour: 13, minute: 55, second: 0),
duration-minutes: 20, duration-minutes: 20,
last-minutes: 3
) )
#show raw.where(block: true): set text(size: 0.8em) #show raw.where(block: true): set text(size: 0.8em)
+1 -1
View File
@@ -1,7 +1,7 @@
#import "@preview/acrostiche:0.7.0": * #import "@preview/acrostiche:0.7.0": *
#let acronyms = ( #let acronyms = (
"TaPL": ([Types and Progamming Languages@tapl],), "TaPL": ([Types and Programming Languages@tapl],),
"LSP": (link("https://en.wikipedia.org/wiki/Liskov_substitution_principle")[Liskov substitution principle],), "LSP": (link("https://en.wikipedia.org/wiki/Liskov_substitution_principle")[Liskov substitution principle],),
"AST": ([Abstract Syntax Tree],), "AST": ([Abstract Syntax Tree],),
"LUB": ([Least Upper Bound],), "LUB": ([Least Upper Bound],),
+1 -1
View File
@@ -103,7 +103,7 @@
), ),
rule( rule(
"T-Assign", "T-Assign",
$Gamma tack "x": "T"$, $"x": "T" in Gamma$,
$Gamma tack "t": "T"$, $Gamma tack "t": "T"$,
$Gamma tack "x" = "t" tack.l Gamma$, $Gamma tack "x" = "t" tack.l Gamma$,
```py x = t```, ```py x = t```,