stuff
This commit is contained in:
50
W1/report/fasto.sty
Normal file
50
W1/report/fasto.sty
Normal file
@ -0,0 +1,50 @@
|
||||
\usepackage{xcolor}
|
||||
\usepackage{listings}
|
||||
\usepackage{tcolorbox}
|
||||
\tcbuselibrary{listings}
|
||||
|
||||
\definecolor{basicColor}{HTML}{5C6166}
|
||||
|
||||
\definecolor{backgroundColor}{HTML}{FCFCFC}
|
||||
\definecolor{keywordColor}{HTML}{FA8D3E}
|
||||
\definecolor{stringColor}{HTML}{86B300}
|
||||
\definecolor{typeColor}{HTML}{399EE6}
|
||||
\definecolor{numberColor}{HTML}{A37ACC}
|
||||
|
||||
\lstdefinelanguage{Fasto}{
|
||||
alsoletter=0123456789,
|
||||
keywords={[0]fun,let,in,if,else,then},
|
||||
keywords={[1]int,char,bool},
|
||||
keywords={[2]@invariant,0,1,2,3,4,5,6,7,8,9},
|
||||
sensitive=true,
|
||||
comment=[l]{//},
|
||||
comment=[s]{/*}{*/},
|
||||
string=[b]",
|
||||
}
|
||||
|
||||
\lstdefinelanguage{FSharp}{
|
||||
alsoletter=0123456789->|,
|
||||
keywords={[0]let,rec,|,->,match,for,in,with},
|
||||
keywords={[1]int,char,bool,INT,EXP,SymTab,CONSTANT,VARIABLE,OPERATE,LET_IN, OVER,BPLUS,BMINUS,BTIMES,RSUM,RPROD,RMAX,RARGMAX},
|
||||
keywords={[2]@invariant,0,1,2,3,4,5,6,7,8,9},
|
||||
sensitive=true,
|
||||
comment=[l]{//},
|
||||
comment=[s]{/*}{*/},
|
||||
string=[b]",
|
||||
}
|
||||
|
||||
\lstset{
|
||||
basicstyle=\color{basicColor}\footnotesize\ttfamily,
|
||||
keywordstyle=[0]\color{keywordColor},
|
||||
keywordstyle=[1]\color{typeColor},
|
||||
keywordstyle=[2]\color{numberColor},
|
||||
stringstyle=\color{stringColor},
|
||||
backgroundcolor=\color{backgroundColor},
|
||||
frame=single, framerule=1pt,
|
||||
numbers=left,
|
||||
stepnumber=1,
|
||||
showstringspaces=false,
|
||||
tabsize=1,
|
||||
breaklines=true,
|
||||
breakatwhitespace=true
|
||||
}
|
@ -1,5 +1,10 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {Task 1}}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {Task 2}}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {Task 3}}{1}{}\protected@file@percent }
|
||||
\gdef \@abspage@last{1}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {a)}Completeness and Correctness}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {b)}Effeciency}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {c)}Code Sharing/Elegance}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {Task 3}}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {a)}The \texttt {mul} function}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {b)}The \texttt {dif} array}{2}{}\protected@file@percent }
|
||||
\gdef \@abspage@last{2}
|
||||
|
@ -1,19 +1,181 @@
|
||||
# Fdb version 3
|
||||
["pdflatex"] 1651237923 "/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/main.tex" "main.pdf" "main" 1651237923
|
||||
"/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/main.tex" 1651237922 364 e3b792744da3753f628354d9558911dc ""
|
||||
"/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1647844622 3524 cb3e574dea2d1052e39280babc910dc8 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm" 1647844622 1324 c910af8c371558dc20f2d7822f66fe64 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm" 1647844622 1288 655e228510b4c2a1abe905c368440826 ""
|
||||
"/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1647844622 32080 340ef9bf63678554ee606688e7b5339d ""
|
||||
["lualatex"] 1651328147 "/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/report/main.tex" "main.pdf" "main" 1651328149
|
||||
"/home/nikolaj/.local/share/fonts/AntikorMono/AntikorMono-Medium.ttf" 1611081972 103940 8e55892035a16215c54dd867754fccc1 ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/antikormono-medium.luc" 1651323665 104754 23ebedc62154e273369ad441e4fed323 ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-bold.luc" 1650282221 128371 e7304f80c7b50597b0633dcda00e60a9 ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc" 1650282220 127288 6309a12a9fa2902a726598dfef4db5a5 ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman12-bold.luc" 1650283882 128260 0cb73513006fafa01bb14effa930136e ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman12-regular.luc" 1650282221 127631 287ab9e4525229c0e9d55529c34ca704 ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman5-regular.luc" 1650282947 125928 77b87069a223d22532f2ecd3464329ff ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman7-regular.luc" 1650282946 128336 ad98c6b5a083d412c7d7fbb411623378 ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman8-regular.luc" 1650282226 128107 a6e5f63d68c9e0e82c3eac00f927eb1a ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc" 1651324362 949 9ecbdc9cca7e688ea7ef82a41f357e7d ""
|
||||
"/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz" 1651323659 341600 1597a54d96fec9bc135c0799b8b573f7 ""
|
||||
"/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/report/main.tex" 1651328147 4845 61aad2f0febf6b560548fe1b0206bacb ""
|
||||
"/usr/share/fonts/OTF/lmroman10-regular.otf" 1593426288 111536 ae9d1b331000d544f47e5223081b7b54 ""
|
||||
"/usr/share/fonts/OTF/lmroman12-bold.otf" 1593426288 110496 b9c8767d4cc3bf3f4b21f676bf89aa78 ""
|
||||
"/usr/share/fonts/OTF/lmroman8-regular.otf" 1593426288 111948 cee9e390fd6d23cfb4d6871ba2a9ee5b ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmex10.tfm" 1647844622 992 662f679a0b3d2d53c1b94050fdaa3f50 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmmi10.tfm" 1647844622 1528 abec98dbc43e172678c11b3b9031252a ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmmi5.tfm" 1647844622 1508 3b32edd0d68f6498a5a375e78f9edc5e ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmmi7.tfm" 1647844622 1528 e2423ae06dc7dee599cceb79d1c9dc32 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmr10.tfm" 1647844622 1296 45809c5a464d5f32c8f98ba97c1bb47f ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmr5.tfm" 1647844622 1220 ad296dff3c8796c18053ab7b9f86ad7c ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmr7.tfm" 1647844622 1300 53d07721103816e093902637bc167021 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm" 1647844622 1124 6c73e740cf17375f03eec0ee63599741 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy5.tfm" 1647844622 1112 14d5d5f6bd3c949edecb5b872f295553 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy7.tfm" 1647844622 1120 2b3f9b25605010c69bc328bea6ac000f ""
|
||||
"/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb" 1647844622 36299 5f9df58c2139e7edcf37c8fca4bd384d ""
|
||||
"/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1647844622 35752 024fb6c41858982481f6968b5fc26508 ""
|
||||
"/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii" 1647844622 71627 94eb9990bed73c364d7f53f960cc8c5b ""
|
||||
"/usr/share/texmf-dist/tex/generic/iftex/iftex.sty" 1647844622 7237 bdd120a32c8fdb4b433cf9ca2e7cd98a ""
|
||||
"/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty" 1647844622 1057 525c2192b5febbd8c1f662c9468335bb ""
|
||||
"/usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty" 1647844622 8356 7bbb2c2373aa810be568c29e333da8ed ""
|
||||
"/usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty" 1647844622 17859 4409f8f50cd365c68e684407e5350b1b ""
|
||||
"/usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.lua" 1647844622 9447 5e9f52f1871707a5d27dea360afbe4cb ""
|
||||
"/usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty" 1647844622 20089 80423eac55aa175305d35b49e04fe23b ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex" 1647844622 992 855ff26741653ab54814101ca36e153c ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex" 1647844622 43820 1fef971b75380574ab35a0d37fd92608 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex" 1647844622 19324 f4e4c6403dd0f1605fd20ed22fa79dea ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex" 1647844622 6038 ccb406740cc3f03bbfb58ad504fe8c27 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex" 1647844622 6944 e12f8f7a7364ddf66f93ba30fb3a3742 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex" 1647844622 4883 42daaf41e27c3735286e23e48d2d7af9 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex" 1647844622 2544 8c06d2a7f0f469616ac9e13db6d2f842 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex" 1647844622 44195 5e390c414de027626ca5e2df888fa68d ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex" 1647844622 17311 2ef6b2e29e2fc6a2fc8d6d652176e257 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex" 1647844622 21302 788a79944eb22192a4929e46963a3067 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex" 1647844622 9690 01feb7cde25d4293ef36eef45123eb80 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex" 1647844622 33335 dd1fa4814d4e51f18be97d88bf0da60c ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex" 1647844622 2965 4c2b1f4e0826925746439038172e5d6f ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex" 1647844622 5196 2cc249e0ee7e03da5f5f6589257b1e5b ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex" 1647844622 20726 d4c8db1e2e53b72721d29916314a22ea ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex" 1647844622 35249 abd4adf948f960299a4b3d27c5dddf46 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex" 1647844622 21989 fdc867d05d228316de137a9fc5ec3bbe ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex" 1647844622 8893 e851de2175338fdf7c17f3e091d94618 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfint.code.tex" 1647844622 3063 8c415c68a0f3394e45cfeca0b65f6ee6 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex" 1647844622 521 8e224a7af69b7fee4451d1bf76b46654 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex" 1647844622 13391 84d29568c13bdce4133ab4a214711112 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex" 1647844622 104935 184ed87524e76d4957860df4ce0cd1c3 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex" 1647844622 10165 cec5fa73d49da442e56efc2d605ef154 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex" 1647844622 28178 41c17713108e0795aac6fef3d275fbca ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex" 1647844622 9989 c55967bf45126ff9b061fa2ca0c4694f ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex" 1647844622 3865 ac538ab80c5cf82b345016e474786549 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex" 1647844622 3177 27d85c44fbfe09ff3b2cf2879e3ea434 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex" 1647844622 11024 0179538121bc2dba172013a3ef89519f ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex" 1647844622 7854 4176998eeefd8745ac6d2d4bd9c98451 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex" 1647844622 3379 781797a101f647bab82741a99944a229 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex" 1647844622 92405 f515f31275db273f97b9d8f52e1b0736 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex" 1647844622 37376 11cd75aac3da1c1b152b2848f30adc14 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex" 1647844622 8471 c2883569d03f69e8e1cabfef4999cfd7 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex" 1647844622 16121 346f9013d34804439f7436ff6786cef7 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex" 1647844622 44784 cedaa399d15f95e68e22906e2cc09ef8 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex" 1647844622 465 d68603f8b820ea4a08cce534944db581 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg" 1647844622 926 2963ea0dcf6cc6c0a770b69ec46a477b ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def" 1647844622 5546 f3f24d7898386cb7daac70bdd2c4d6dc ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def" 1647844622 13244 6674e4de0678d77c2d7465acc4ea20d7 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex" 1647844622 61163 9b2eefc24e021323e0fc140e9826d016 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex" 1647844622 1896 b8e0ca0ac371d74c0ca05583f6313c91 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex" 1647844622 7778 53c8b5623d80238f6a20aa1df1868e63 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex" 1647844622 37060 797782f0eb50075c9bc952374d9a659a ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex" 1647844622 37431 9abe862035de1b29c7a677f3205e3d9f ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex" 1647844622 4494 af17fb7efeafe423710479858e42fa7e ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex" 1647844622 7251 fb18c67117e09c64de82267e12cd8aa4 ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex" 1647844622 29274 e15c5b7157d21523bd9c9f1dfa146b8e ""
|
||||
"/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def" 1647844622 6825 a2b0ea5b539dda0625e99dd15785ab59 ""
|
||||
"/usr/share/texmf-dist/tex/generic/unicode-data/CaseFolding.txt" 1647844622 84688 8e67e575f505f0ec3d23bc8a0961894e ""
|
||||
"/usr/share/texmf-dist/tex/generic/unicode-data/PropList.txt" 1647844622 130164 82b7580d6edaca727c23d8bf9ec00aa5 ""
|
||||
"/usr/share/texmf-dist/tex/generic/unicode-data/ScriptExtensions.txt" 1647844622 21969 531ffba1234ef2c233f4ffa1bdc9c58f ""
|
||||
"/usr/share/texmf-dist/tex/generic/unicode-data/Scripts.txt" 1647844622 181635 b1d22e9d6073db71dc94e5f0c2f1ab6b ""
|
||||
"/usr/share/texmf-dist/tex/generic/unicode-data/SpecialCasing.txt" 1647844622 16830 24748f42075a36b6d7521d0867a90717 ""
|
||||
"/usr/share/texmf-dist/tex/generic/unicode-data/UnicodeData.txt" 1647844622 1897793 c98cbeae07758b826ef080c65b9d4d61 ""
|
||||
"/usr/share/texmf-dist/tex/generic/unicode-data/WordBreakProperty.txt" 1647844622 107025 7c1847e08aecbf5069b4bb31cf508810 ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/article.cls" 1647844622 20144 8a7de377ae7a11ee924a7499611f5a9d ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/fontenc.sty" 1647844622 4946 461cc78f6f26901410d9f1d725079cc6 ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/ltluatex.lua" 1647844622 19214 9fefc6dff80101966499ea0d8ae2e503 ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/size10.clo" 1647844622 8448 96f18c76bf608a36ee6fbf021ac1dd32 ""
|
||||
"/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def" 1647844622 29921 d0acc05a38bd4aa3af2017f0b7c137ce ""
|
||||
"/usr/share/texmf-dist/web2c/texmf.cnf" 1647844622 39911 2da6c67557ec033436fe5418a70a8a61 ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd" 1647844622 2430 06a89bcded389391906798ea7a3f3aaa ""
|
||||
"/usr/share/texmf-dist/tex/latex/environ/environ.sty" 1647807149 4378 f429f0da968c278653359293040a8f52 ""
|
||||
"/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty" 1647844622 13886 d1306dcf79a944f6988e688c1785f9ce ""
|
||||
"/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty" 1647844622 46845 3b58f70c6e861a13d927bff09d35ecbc ""
|
||||
"/usr/share/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty" 1647844622 150585 e7858b29d466f38afac90db54bb48055 ""
|
||||
"/usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg" 1647844622 549 c4adac819276241fea8eb79c5ab7b99e ""
|
||||
"/usr/share/texmf-dist/tex/latex/fontspec/fontspec.lua" 1647844622 3021 d020be140dbb56718a42324548f9a72e ""
|
||||
"/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty" 1647844622 1656 7e824878bad4df5a3e8bba4e463d9126 ""
|
||||
"/usr/share/texmf-dist/tex/latex/geometry/geometry.sty" 1647844622 41601 9cf6c5257b1bc7af01a58859749dd37a ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg" 1647844622 1213 620bba36b25224fa9b7e1ccb4ecb76fd ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg" 1647844622 1224 978390e9c2234eab29404bc21b268d1e ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics-def/luatex.def" 1647844622 19010 055822b35577472bb450b4662bbf28d9 ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/graphics.sty" 1647844622 18399 7e40f80366dffb22c0e7b70517db5cb4 ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty" 1647844622 7996 a8fb260d598dcaf305a7ae7b9c3e3229 ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/keyval.sty" 1647844622 2671 4de6781a30211fe0ea4c672e4a2a8166 ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/trig.sty" 1647844622 4009 187ea2dc3194cd5a76cd99a8d7a6c4d0 ""
|
||||
"/usr/share/texmf-dist/tex/latex/l3backend/l3backend-luatex.def" 1647844622 30292 5e0b0f0ef907fab549ffef3627107d14 ""
|
||||
"/usr/share/texmf-dist/tex/latex/l3kernel/expl3.lua" 1647844622 15627 866398a1358608205cb87da529bd41e8 ""
|
||||
"/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty" 1647844622 6107 e082261f9677386795d8bf6b6254fa9d ""
|
||||
"/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty" 1647844622 6758 7d9d899cbbfc962fbc4bb93f4c69eec2 ""
|
||||
"/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg" 1647844622 678 4792914a8f45be57bb98413425e4c7af ""
|
||||
"/usr/share/texmf-dist/tex/latex/latexconfig/lualatexquotejobname.lua" 1647844622 1031 977f79ff10b802fc398926378bec58e9 ""
|
||||
"/usr/share/texmf-dist/tex/latex/listings/listings.cfg" 1647844622 1830 e31effa752c61538383451ae21332364 ""
|
||||
"/usr/share/texmf-dist/tex/latex/listings/listings.sty" 1647844622 80964 64e57373f36316e4a09b517cbf1aba2e ""
|
||||
"/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty" 1647844622 77022 ee25ce086f4a79d8cf73bac6f94c02a5 ""
|
||||
"/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty" 1647844622 1090 bae35ef70b3168089ef166db3e66f5b2 ""
|
||||
"/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty" 1647844622 410 615550c46f918fcbee37641b02a862d9 ""
|
||||
"/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty" 1647844622 21013 f4ff83d25bb56552493b030f27c075ae ""
|
||||
"/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty" 1647844622 989 c49c8ae06d96f8b15869da7428047b1e ""
|
||||
"/usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty" 1647844622 443 8c872229db56122037e86bcda49e14f3 ""
|
||||
"/usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty" 1647844622 325 f9f16d12354225b7dd52a3321f085955 ""
|
||||
"/usr/share/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex" 1647807149 3414 35cdad46dacfbdf3277e05e06e9510c8 ""
|
||||
"/usr/share/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex" 1647807149 13913 e8b437b63409c475089ab65612dac561 ""
|
||||
"/usr/share/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex" 1647807149 2591 0ecc2aaa440bf2ab038f0776bf9dccdb ""
|
||||
"/usr/share/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty" 1647807149 90399 93200a4832e517564b5aa5dc46e12177 ""
|
||||
"/usr/share/texmf-dist/tex/latex/tools/shellesc.sty" 1647844622 4118 0f286eca74ee36b7743ff20320e5479f ""
|
||||
"/usr/share/texmf-dist/tex/latex/tools/verbatim.sty" 1647844622 7392 39729ae6a807e217edf1442cf8fab2c2 ""
|
||||
"/usr/share/texmf-dist/tex/latex/trimspaces/trimspaces.sty" 1647807149 1380 971a51b00a14503ddf754cab24c3f209 ""
|
||||
"/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty" 1647844622 56029 3f7889dab51d620aa43177c391b7b190 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lua-uni-algos/lua-uni-normalize.lua" 1647844622 21269 eb4154856f0afe9e8d886dbf6922dcc6 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lua-uni-algos/lua-uni-parse.lua" 1647844622 2115 596f0e8384e97c26c78a8e88c65a7843 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua" 1647844622 131865 7823724834e59b4ec715d8bb8cbaeb54 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua" 1647844622 2718 ab2094ad7c4dbeee0586e66867657528 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lualibs/lualibs-compat.lua" 1647844622 603 398583cb619d20952d67edcedae41608 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lualibs/lualibs-extended-merged.lua" 1647844622 111260 42b0c7151f556bf3efa50f07f49b8db0 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua" 1647844622 4859 0a4cc7ac69f1ddc17187973389446292 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/lualibs/lualibs.lua" 1647844622 3780 a9bd8ce659ead1f89cff36820bd2de52 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/fontloader-2022-02-24.lua" 1647844622 879568 4dc8ce07471f8af7aa98d835df654768 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/fontloader-basics-gen.lua" 1647844622 12745 4bc43036e9796fccb0b8869f4b05bf2e ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-auxiliary.lua" 1647844622 32597 56ff5ca809e974b5630cdce6d287982d ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-case.lua" 1647844622 6809 6c20d5dc2b2b4227f873e7df0fd25316 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua" 1647844622 15954 5989cddee9b5371697c559ec201e27e7 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-configuration.lua" 1647844622 31223 5b294133cd45a4a6f4b94388dbfc2964 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-database.lua" 1647844622 134114 315be26e69005984329b81aa331e1365 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-embolden.lua" 1647844622 1004 04466a99226e5724ef9287ec1a28263a ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-fallback.lua" 1647844622 4047 e218dc2d291d024f2d1b45da766f6cfc ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua" 1647844622 33149 26ff83b26be22a1962db807b51a362dc ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-define.lua" 1647844622 18970 16079aa19c3862e2e8f6b8cb91cf037a ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua" 1647844622 42240 09076cf26ee8160a8eb667c6be500069 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-var-cff2.lua" 1647844622 14279 1ddc491d739900212c540b4ec73e9eff ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-var-t2-writer.lua" 1647844622 4050 7fe81398f3e2a4a9477ba45f396d5563 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-var-ttf.lua" 1647844622 20038 e49220e9e6fd5a9f9536cbc4eca8c1bb ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua" 1647844622 19746 8acaf9e42a9c9fa1c398a0944d1a4d50 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-letterspace.lua" 1647844622 20268 000b624f54d934aff044862b7a64d4e2 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua" 1647844622 8840 e9f98d4904d245facab3932c505ea0f8 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-log.lua" 1647844622 11323 22964216fb42c7b07623fc43da5149ac ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-main.lua" 1647844622 275 b19c9cc34cf1d676c39f872cfb41aef6 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-multiscript.lua" 1647844622 15068 3f88fec616eb7b3f56fc5932a0f1e4d8 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-notdef.lua" 1647844622 12224 c06af0d71ab75a68f3445ecc6fa4e7b3 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-parsers.lua" 1647844622 31007 a7eb408eae165d6a61d11a705cab1b98 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-resolvers.lua" 1647844622 10984 7fd3c8d3d5a76c89227110177e7979f3 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-scripts.lua" 1647844622 2506 b987b6592183d5cc5ec858d5792cc381 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-status.lua" 1647844622 6317 e7fa94f6b0c4ea27bbd6cc0185b5713d ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-suppress.lua" 1647844622 2582 ec8f80689df7ba440286d00bcf6ed680 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-szss.lua" 1647844622 6309 5d97cb13052848afe1aba7e7ebc1469c ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-tounicode.lua" 1647844622 7528 fb7b0f47a74b414177bea5f982abf1de ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-unicode.lua" 1647844622 7589 65c7651d19fe06ec17196c22c533f768 ""
|
||||
"/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload.lua" 1647844622 13565 30cc2d8cecf79afb1abb4d5c12eb919a ""
|
||||
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1650359669 4408072 42ceaa83bae76aebad711d3f3dd7f55f ""
|
||||
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1650359660 2924504 ea4c5c72b0c4652da661684b3e043938 ""
|
||||
"main.aux" 1651237923 311 d89453a43fde1809b6531a97b3ddf7d3 "pdflatex"
|
||||
"main.tex" 1651237922 364 e3b792744da3753f628354d9558911dc ""
|
||||
"/var/lib/texmf/web2c/luahbtex/lualatex.fmt" 1650359651 4560029 6f055e85cef5c428835ecbb71417852a ""
|
||||
"fasto.sty" 1651327814 1408 f24e408340d3c27e1c067bd58ca99f46 ""
|
||||
"main.aux" 1651328148 881 f815c05d54331d8fa283368519c5f327 "lualatex"
|
||||
"main.tex" 1651328147 4845 61aad2f0febf6b560548fe1b0206bacb ""
|
||||
(generated)
|
||||
"main.aux"
|
||||
"main.log"
|
||||
|
@ -1,43 +1,264 @@
|
||||
PWD /home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1
|
||||
INPUT /usr/share/texmf-dist/web2c/texmf.cnf
|
||||
INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt
|
||||
INPUT /home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/main.tex
|
||||
PWD /home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/report
|
||||
INPUT /var/lib/texmf/web2c/luahbtex/lualatex.fmt
|
||||
INPUT /home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/report/main.tex
|
||||
OUTPUT main.log
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/latexconfig/lualatexquotejobname.lua
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/ltluatex.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-main.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lualibs/lualibs.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lualibs/lualibs-compat.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lualibs/lualibs-extended-merged.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-log.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/fontloader-basics-gen.lua
|
||||
OUTPUT /home/nikolaj/.texlive/texmf-var/m_t_x_t_e_s_t.tmp
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-parsers.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-configuration.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-status.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/fontloader-2022-02-24.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-fallback.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-multiscript.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-scripts.lua
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/ScriptExtensions.txt
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/Scripts.txt
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-database.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-unicode.lua
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/CaseFolding.txt
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/UnicodeData.txt
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/UnicodeData.txt
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/PropList.txt
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/WordBreakProperty.txt
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/SpecialCasing.txt
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-resolvers.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lua-uni-algos/lua-uni-normalize.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/lua-uni-algos/lua-uni-parse.lua
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/UnicodeData.txt
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-define.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-var-cff2.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-var-t2-writer.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-var-ttf.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-letterspace.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-embolden.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-notdef.lua
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/UnicodeData.txt
|
||||
INPUT /usr/share/texmf-dist/tex/generic/unicode-data/PropList.txt
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-suppress.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-szss.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-auxiliary.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-tounicode.lua
|
||||
INPUT /usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-case.lua
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3kernel/expl3.lua
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc
|
||||
INPUT /usr/share/texmf-dist/tex/latex/listings/listings.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/listings/listings.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/listings/listings.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/listings/lstmisc.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/listings/lstmisc.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/listings/listings.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/listings/listings.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec.lua
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/fontenc.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/fontenc.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/fontenc.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-bold.luc
|
||||
INPUT /usr/share/texmf-dist/tex/latex/geometry/geometry.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/geometry/geometry.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/geometry/geometry.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/iftex/iftex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/iftex/iftex.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/iftex/iftex.sty
|
||||
INPUT ./fasto.sty
|
||||
INPUT ./fasto.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-def/luatex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-def/luatex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/math/pgfint.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tools/verbatim.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tools/verbatim.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tools/verbatim.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/environ/environ.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/environ/environ.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/environ/environ.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/trimspaces/trimspaces.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/trimspaces/trimspaces.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/trimspaces/trimspaces.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
|
||||
INPUT /usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.lua
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tools/shellesc.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tools/shellesc.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/tools/shellesc.sty
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/antikormono-medium.luc
|
||||
INPUT ./main.aux
|
||||
INPUT ./main.aux
|
||||
INPUT main.aux
|
||||
INPUT main.aux
|
||||
OUTPUT main.aux
|
||||
INPUT /usr/share/texmf-dist/fonts/map/fontname/texfonts.map
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
INPUT /usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
|
||||
INPUT /usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
|
||||
INPUT /usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman12-regular.luc
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman12-bold.luc
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman8-regular.luc
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman7-regular.luc
|
||||
INPUT /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/fonts/otl/lmroman5-regular.luc
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmmi10.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmmi7.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmmi5.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmsy7.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmsy5.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmex10.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr7.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr5.tfm
|
||||
OUTPUT main.pdf
|
||||
INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
|
||||
INPUT main.aux
|
||||
INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb
|
||||
INPUT ./main.aux
|
||||
INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb
|
||||
INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb
|
||||
|
18
W1/report/main.listing
Normal file
18
W1/report/main.listing
Normal file
@ -0,0 +1,18 @@
|
||||
fun int mul(int x, int y) =
|
||||
if y == 0 then 0
|
||||
else if y < 0 then mul(x, y+1) - x
|
||||
else mul(x, y-1) + x
|
||||
|
||||
fun int readInt(int i) = read(int)
|
||||
|
||||
fun int squareSum(int x, int y) = x + mul(y, y)
|
||||
|
||||
fun int main() =
|
||||
let n = read(int) in
|
||||
if n == 0 then let a = write("Incorrect Input!") in 0
|
||||
else if n < 0 then let a = write("Incorrect Input!") in 0
|
||||
else
|
||||
let arr = map(readInt, iota(n)) in
|
||||
let dif = map(fn int (int x) => if x == 0 then arr[x] else arr[x] - arr[x-1], iota(n)) in
|
||||
write(reduce(squareSum, 0, dif))
|
||||
|
@ -1,64 +1,554 @@
|
||||
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021/Arch Linux) (preloaded format=pdflatex 2022.4.19) 29 APR 2022 15:12
|
||||
entering extended mode
|
||||
restricted \write18 enabled.
|
||||
This is LuaHBTeX, Version 1.13.2 (TeX Live 2021/Arch Linux) (format=lualatex 2022.4.19) 30 APR 2022 16:15
|
||||
restricted system commands enabled.
|
||||
file:line:error style messages enabled.
|
||||
%&-line parsing enabled.
|
||||
**/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/main.tex
|
||||
(/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/main.tex
|
||||
**/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/report/main.tex
|
||||
(/home/nikolaj/Code/Datalogi/2022B4-IPS/IPS_W-assignments/W1/report/main.tex
|
||||
LaTeX2e <2021-11-15> patch level 1
|
||||
L3 programming layer <2022-02-24> (/usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
Lua module: luaotfload 2022-03-18 3.21 Lua based OpenType font support
|
||||
Lua module: lualibs 2021-05-20 2.74 ConTeXt Lua standard libraries.
|
||||
Lua module: lualibs-extended 2021-05-20 2.74 ConTeXt Lua libraries -- extended collection.
|
||||
luaotfload | conf : Root cache directory is "/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names".
|
||||
luaotfload | init : Loading fontloader "fontloader-2022-02-24.lua" from kpse-resolved path "/usr/share/texmf-dist/tex/luatex/luaotfload/fontloader-2022-02-24.lua".
|
||||
Lua-only attribute luaotfload@noligature = 1
|
||||
luaotfload | init : Context OpenType loader version 3.119
|
||||
Inserting `luaotfload.node_processor' at position 1 in `pre_linebreak_filter'.
|
||||
Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
|
||||
Inserting `luaotfload.glyph_stream' at position 1 in `glyph_stream_provider'.
|
||||
Inserting `luaotfload.define_font' at position 1 in `define_font'.
|
||||
Lua-only attribute luaotfload_color_attribute = 2
|
||||
luaotfload | conf : Root cache directory is "/home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names".
|
||||
Inserting `luaotfload.harf.strip_prefix' at position 1 in `find_opentype_file'.
|
||||
Inserting `luaotfload.harf.strip_prefix' at position 1 in `find_truetype_file'.
|
||||
Removing `luaotfload.glyph_stream' from `glyph_stream_provider'.
|
||||
Inserting `luaotfload.harf.glyphstream' at position 1 in `glyph_stream_provider'.
|
||||
Inserting `luaotfload.harf.finalize_vlist' at position 1 in `post_linebreak_filter'.
|
||||
Inserting `luaotfload.harf.finalize_hlist' at position 2 in `hpack_filter'.
|
||||
Inserting `luaotfload.cleanup_files' at position 1 in `wrapup_run'.
|
||||
Inserting `luaotfload.harf.finalize_unicode' at position 1 in `finish_pdffile'.
|
||||
Inserting `luaotfload.glyphinfo' at position 1 in `glyph_info'.
|
||||
Lua-only attribute luaotfload.letterspace_done = 3
|
||||
Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in `luaotfload.patch_font'.
|
||||
Inserting `luaotfload.aux.set_font_index' at position 2 in `luaotfload.patch_font'.
|
||||
Inserting `luaotfload.aux.patch_cambria_domh' at position 3 in `luaotfload.patch_font'.
|
||||
Inserting `luaotfload.aux.fixup_fontdata' at position 1 in `luaotfload.patch_font_unsafe'.
|
||||
Inserting `luaotfload.aux.set_capheight' at position 4 in `luaotfload.patch_font'.
|
||||
Inserting `luaotfload.aux.set_xheight' at position 5 in `luaotfload.patch_font'.
|
||||
Inserting `luaotfload.rewrite_fontname' at position 6 in `luaotfload.patch_font'. L3 programming layer <2022-02-24>
|
||||
Inserting `tracingstacklevels' at position 1 in `input_level_string'. (/usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
|
||||
(/usr/share/texmf-dist/tex/latex/base/size10.clo
|
||||
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
|
||||
)
|
||||
\c@part=\count185
|
||||
\c@section=\count186
|
||||
\c@subsection=\count187
|
||||
\c@subsubsection=\count188
|
||||
\c@paragraph=\count189
|
||||
\c@subparagraph=\count190
|
||||
\c@figure=\count191
|
||||
\c@table=\count192
|
||||
luaotfload | db : Font names database loaded from /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz)
|
||||
\c@part=\count183
|
||||
\c@section=\count184
|
||||
\c@subsection=\count185
|
||||
\c@subsubsection=\count186
|
||||
\c@paragraph=\count187
|
||||
\c@subparagraph=\count188
|
||||
\c@figure=\count189
|
||||
\c@table=\count190
|
||||
\abovecaptionskip=\skip47
|
||||
\belowcaptionskip=\skip48
|
||||
\bibindent=\dimen138
|
||||
) (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
|
||||
File: l3backend-pdftex.def 2022-02-07 L3 backend support: PDF output (pdfTeX)
|
||||
\l__color_backend_stack_int=\count193
|
||||
\l__pdf_internal_box=\box50
|
||||
) (./main.aux)
|
||||
\openout1 = `main.aux'.
|
||||
\bibindent=\dimen137
|
||||
) (/usr/share/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
|
||||
\KV@toks@=\toks16
|
||||
)
|
||||
\lst@mode=\count191
|
||||
\lst@gtempboxa=\box50
|
||||
\lst@token=\toks17
|
||||
\lst@length=\count192
|
||||
\lst@currlwidth=\dimen138
|
||||
\lst@column=\count193
|
||||
\lst@pos=\count194
|
||||
\lst@lostspace=\dimen139
|
||||
\lst@width=\dimen140
|
||||
\lst@newlines=\count195
|
||||
\lst@lineno=\count196
|
||||
\lst@maxwidth=\dimen141
|
||||
(/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty
|
||||
File: lstmisc.sty 2020/03/24 1.8d (Carsten Heinz)
|
||||
\c@lstnumber=\count197
|
||||
\lst@skipnumbers=\count198
|
||||
\lst@framebox=\box51
|
||||
) (/usr/share/texmf-dist/tex/latex/listings/listings.cfg
|
||||
File: listings.cfg 2020/03/24 1.8d listings configuration
|
||||
))
|
||||
Package: listings 2020/03/24 1.8d (Carsten Heinz)
|
||||
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty (/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
|
||||
Package: expl3 2022-02-24 L3 programming layer (loader)
|
||||
(/usr/share/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
|
||||
File: l3backend-luatex.def 2022-02-07 L3 backend support: PDF output (LuaTeX)
|
||||
\l__color_backend_stack_int=\count199
|
||||
\l__pdf_internal_box=\box52
|
||||
))
|
||||
Package: xparse 2022-01-12 L3 Experimental document command parser
|
||||
)
|
||||
Package: fontspec 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTeX
|
||||
Lua module: fontspec 2022/01/15 2.8a Font selection for XeLaTeX and LuaLaTeX (/usr/share/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
|
||||
Package: fontspec-luatex 2022/01/15 v2.8a Font selection for XeLaTeX and LuaLaTeX
|
||||
\l__fontspec_script_int=\count266
|
||||
\l__fontspec_language_int=\count267
|
||||
\l__fontspec_strnum_int=\count268
|
||||
\l__fontspec_tmp_int=\count269
|
||||
\l__fontspec_tmpa_int=\count270
|
||||
\l__fontspec_tmpb_int=\count271
|
||||
\l__fontspec_tmpc_int=\count272
|
||||
\l__fontspec_em_int=\count273
|
||||
\l__fontspec_emdef_int=\count274
|
||||
\l__fontspec_strong_int=\count275
|
||||
\l__fontspec_strongdef_int=\count276
|
||||
\l__fontspec_tmpa_dim=\dimen142
|
||||
\l__fontspec_tmpb_dim=\dimen143
|
||||
\l__fontspec_tmpc_dim=\dimen144
|
||||
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
|
||||
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
|
||||
) (/usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
|
||||
Package: geometry 2020/01/02 v5.9 Page Geometry
|
||||
(/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty
|
||||
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
|
||||
(/usr/share/texmf-dist/tex/generic/iftex/iftex.sty
|
||||
Package: iftex 2022/02/03 v1.0f TeX engine tests
|
||||
))
|
||||
\Gm@cnth=\count277
|
||||
\Gm@cntv=\count278
|
||||
\c@Gm@tempcnt=\count279
|
||||
\Gm@bindingoffset=\dimen145
|
||||
\Gm@wd@mp=\dimen146
|
||||
\Gm@odd@mp=\dimen147
|
||||
\Gm@even@mp=\dimen148
|
||||
\Gm@layoutwidth=\dimen149
|
||||
\Gm@layoutheight=\dimen150
|
||||
\Gm@layouthoffset=\dimen151
|
||||
\Gm@layoutvoffset=\dimen152
|
||||
\Gm@dimlist=\toks18
|
||||
) (./fasto.sty (/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
|
||||
Package: xcolor 2021/10/31 v2.13 LaTeX color extensions (UK)
|
||||
(/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg
|
||||
File: color.cfg 2016/01/02 v1.6 sample color configuration
|
||||
)
|
||||
Package xcolor Info: Driver file: luatex.def on input line 227.
|
||||
(/usr/share/texmf-dist/tex/latex/graphics-def/luatex.def
|
||||
File: luatex.def 2021/06/01 v1.2c Graphics/color driver for luatex
|
||||
)
|
||||
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1352.
|
||||
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1356.
|
||||
Package xcolor Info: Model `RGB' extended on input line 1368.
|
||||
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1370.
|
||||
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1371.
|
||||
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1372.
|
||||
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1373.
|
||||
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1374.
|
||||
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1375.
|
||||
) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
|
||||
Package: tcolorbox 2022/01/07 version 5.0.2 text color boxes
|
||||
(/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty (/usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
|
||||
\pgfutil@everybye=\toks19
|
||||
\pgfutil@tempdima=\dimen153
|
||||
\pgfutil@tempdimb=\dimen154
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex)) (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
|
||||
\pgfutil@abb=\box53
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex (/usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex)
|
||||
Package: pgfrcs 2021/05/15 v3.1.9a (3.1.9a)
|
||||
))
|
||||
Package: pgf 2021/05/15 v3.1.9a (3.1.9a)
|
||||
(/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
|
||||
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
Package: graphics 2021/03/04 v1.4d Standard LaTeX Graphics (DPC,SPQR)
|
||||
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
|
||||
) (/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
|
||||
)
|
||||
Package graphics Info: Driver file: luatex.def on input line 107.
|
||||
)
|
||||
\Gin@req@height=\dimen155
|
||||
\Gin@req@width=\dimen156
|
||||
) (/usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
|
||||
Package: pgfsys 2021/05/15 v3.1.9a (3.1.9a)
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
|
||||
\pgfkeys@pathtoks=\toks20
|
||||
\pgfkeys@temptoks=\toks21
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
|
||||
\pgfkeys@tmptoks=\toks22
|
||||
))
|
||||
\pgf@x=\dimen157
|
||||
\pgf@y=\dimen158
|
||||
\pgf@xa=\dimen159
|
||||
\pgf@ya=\dimen160
|
||||
\pgf@xb=\dimen161
|
||||
\pgf@yb=\dimen162
|
||||
\pgf@xc=\dimen163
|
||||
\pgf@yc=\dimen164
|
||||
\pgf@xd=\dimen165
|
||||
\pgf@yd=\dimen166
|
||||
\w@pgf@writea=\write3
|
||||
\r@pgf@reada=\read2
|
||||
\c@pgf@counta=\count280
|
||||
\c@pgf@countb=\count281
|
||||
\c@pgf@countc=\count282
|
||||
\c@pgf@countd=\count283
|
||||
\t@pgf@toka=\toks23
|
||||
\t@pgf@tokb=\toks24
|
||||
\t@pgf@tokc=\toks25
|
||||
\pgf@sys@id@count=\count284
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
|
||||
File: pgf.cfg 2021/05/15 v3.1.9a (3.1.9a)
|
||||
)
|
||||
Driver file for pgf: pgfsys-luatex.def
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def
|
||||
File: pgfsys-luatex.def 2021/05/15 v3.1.9a (3.1.9a)
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
|
||||
File: pgfsys-common-pdf.def 2021/05/15 v3.1.9a (3.1.9a)
|
||||
))) (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
|
||||
File: pgfsyssoftpath.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgfsyssoftpath@smallbuffer@items=\count285
|
||||
\pgfsyssoftpath@bigbuffer@items=\count286
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
|
||||
File: pgfsysprotocol.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
)) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
|
||||
Package: pgfcore 2021/05/15 v3.1.9a (3.1.9a)
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
|
||||
\pgfmath@dimen=\dimen167
|
||||
\pgfmath@count=\count287
|
||||
\pgfmath@box=\box54
|
||||
\pgfmath@toks=\toks26
|
||||
\pgfmath@stack@operand=\toks27
|
||||
\pgfmath@stack@operation=\toks28
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex))) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
|
||||
\c@pgfmathroundto@lastzeros=\count288
|
||||
)) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfint.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
|
||||
File: pgfcorepoints.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgf@picminx=\dimen168
|
||||
\pgf@picmaxx=\dimen169
|
||||
\pgf@picminy=\dimen170
|
||||
\pgf@picmaxy=\dimen171
|
||||
\pgf@pathminx=\dimen172
|
||||
\pgf@pathmaxx=\dimen173
|
||||
\pgf@pathminy=\dimen174
|
||||
\pgf@pathmaxy=\dimen175
|
||||
\pgf@xx=\dimen176
|
||||
\pgf@xy=\dimen177
|
||||
\pgf@yx=\dimen178
|
||||
\pgf@yy=\dimen179
|
||||
\pgf@zx=\dimen180
|
||||
\pgf@zy=\dimen181
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
|
||||
File: pgfcorepathconstruct.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgf@path@lastx=\dimen182
|
||||
\pgf@path@lasty=\dimen183
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
|
||||
File: pgfcorepathusage.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgf@shorten@end@additional=\dimen184
|
||||
\pgf@shorten@start@additional=\dimen185
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
|
||||
File: pgfcorescopes.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgfpic=\box55
|
||||
\pgf@hbox=\box56
|
||||
\pgf@layerbox@main=\box57
|
||||
\pgf@picture@serial@count=\count289
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
|
||||
File: pgfcoregraphicstate.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgflinewidth=\dimen186
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex
|
||||
File: pgfcoretransformations.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgf@pt@x=\dimen187
|
||||
\pgf@pt@y=\dimen188
|
||||
\pgf@pt@temp=\dimen189
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
|
||||
File: pgfcorequick.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
|
||||
File: pgfcoreobjects.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex
|
||||
File: pgfcorepathprocessing.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
|
||||
File: pgfcorearrows.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgfarrowsep=\dimen190
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
|
||||
File: pgfcoreshade.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgf@max=\dimen191
|
||||
\pgf@sys@shading@range@num=\count290
|
||||
\pgf@shadingcount=\count291
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
|
||||
File: pgfcoreimage.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex
|
||||
File: pgfcoreexternal.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgfexternal@startupbox=\box58
|
||||
)) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
|
||||
File: pgfcorelayers.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
|
||||
File: pgfcoretransparency.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
|
||||
File: pgfcorepatterns.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex
|
||||
File: pgfcorerdf.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
))) (/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
|
||||
File: pgfmoduleshapes.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgfnodeparttextbox=\box59
|
||||
) (/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
|
||||
File: pgfmoduleplot.code.tex 2021/05/15 v3.1.9a (3.1.9a)
|
||||
) (/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
|
||||
Package: pgfcomp-version-0-65 2021/05/15 v3.1.9a (3.1.9a)
|
||||
\pgf@nodesepstart=\dimen192
|
||||
\pgf@nodesepend=\dimen193
|
||||
) (/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
|
||||
Package: pgfcomp-version-1-18 2021/05/15 v3.1.9a (3.1.9a)
|
||||
)) (/usr/share/texmf-dist/tex/latex/tools/verbatim.sty
|
||||
Package: verbatim 2020-07-07 v1.5u LaTeX2e package for verbatim enhancements
|
||||
\every@verbatim=\toks29
|
||||
\verbatim@line=\toks30
|
||||
\verbatim@in@stream=\read3
|
||||
) (/usr/share/texmf-dist/tex/latex/environ/environ.sty
|
||||
Package: environ 2014/05/04 v0.3 A new way to define environments
|
||||
(/usr/share/texmf-dist/tex/latex/trimspaces/trimspaces.sty
|
||||
Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list
|
||||
)
|
||||
\@envbody=\toks31
|
||||
) (/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
|
||||
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
|
||||
\etb@tempcnta=\count292
|
||||
)
|
||||
\tcb@titlebox=\box60
|
||||
\tcb@upperbox=\box61
|
||||
\tcb@lowerbox=\box62
|
||||
\tcb@phantombox=\box63
|
||||
\c@tcbbreakpart=\count293
|
||||
\c@tcblayer=\count294
|
||||
\c@tcolorbox@number=\count295
|
||||
\tcb@temp=\box64
|
||||
\tcb@temp=\box65
|
||||
\tcb@temp=\box66
|
||||
\tcb@temp=\box67
|
||||
) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex
|
||||
Library (tcolorbox): 'tcblistings.code.tex' version '5.0.2'
|
||||
(/usr/share/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex
|
||||
Library (tcolorbox): 'tcblistingscore.code.tex' version '5.0.2'
|
||||
(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex
|
||||
Library (tcolorbox): 'tcbprocessing.code.tex' version '5.0.2'
|
||||
(/usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
|
||||
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
|
||||
(/usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty
|
||||
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
|
||||
) (/usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
|
||||
Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
|
||||
)
|
||||
Package pdftexcmds Info: \pdf@primitive is available.
|
||||
Package pdftexcmds Info: \pdf@ifprimitive is available.
|
||||
Package pdftexcmds Info: \pdfdraftmode found.
|
||||
\pdftexcmds@toks=\toks32
|
||||
) (/usr/share/texmf-dist/tex/latex/tools/shellesc.sty
|
||||
Package: shellesc 2019/11/08 v1.0c unified shell escape interface for LaTeX
|
||||
Package shellesc Info: Restricted shell escape enabled on input line 77.
|
||||
))
|
||||
\c@tcblisting=\count296
|
||||
)))
|
||||
luaotfload | cache : Lookup cache loaded from /home/nikolaj/.texlive/texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.luc.
|
||||
|
||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
[1
|
||||
Package fontspec Info: Could not resolve font "AntikorMonoMedium/BI" (it
|
||||
(fontspec) probably doesn't exist).
|
||||
|
||||
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./main.aux) )
|
||||
Here is how much of TeX's memory you used:
|
||||
404 strings out of 478276
|
||||
7535 string characters out of 5853013
|
||||
298976 words of memory out of 5000000
|
||||
18691 multiletter control sequences out of 15000+600000
|
||||
469864 words of font info for 30 fonts, out of 8000000 for 9000
|
||||
1141 hyphenation exceptions out of 8191
|
||||
34i,5n,38p,193b,107s stack positions out of 5000i,500n,10000p,200000b,80000s
|
||||
</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
|
||||
Output written on main.pdf (1 page, 28488 bytes).
|
||||
PDF statistics:
|
||||
18 PDF objects out of 1000 (max. 8388607)
|
||||
10 compressed objects within 1 object stream
|
||||
0 named destinations out of 1000 (max. 500000)
|
||||
1 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||
|
||||
Package fontspec Info: Could not resolve font "AntikorMonoMedium/B" (it
|
||||
(fontspec) probably doesn't exist).
|
||||
|
||||
|
||||
Package fontspec Info: Could not resolve font "AntikorMonoMedium/I" (it
|
||||
(fontspec) probably doesn't exist).
|
||||
|
||||
|
||||
Package fontspec Info: Font family 'AntikorMonoMedium(0)' created for font
|
||||
(fontspec) 'Antikor Mono Medium' with options
|
||||
(fontspec) [WordSpace={1,0,0},HyphenChar=None,PunctuationSpace=WordSpace,Scale=0.9].
|
||||
(fontspec)
|
||||
(fontspec) This font family consists of the following NFSS
|
||||
(fontspec) series/shapes:
|
||||
(fontspec)
|
||||
(fontspec) - 'normal' (m/n) with NFSS spec.:
|
||||
(fontspec) <->s*[0.9]"AntikorMonoMedium:mode=node;script=latn;language=dflt;"
|
||||
(fontspec) - 'small caps' (m/sc) with NFSS spec.:
|
||||
(fontspec) <->s*[0.9]"AntikorMonoMedium:mode=node;script=latn;language=dflt;+smcp;"
|
||||
(fontspec) and font adjustment code:
|
||||
(fontspec) \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font
|
||||
(fontspec) =0\fontdimen 3\font \fontdimen 4\font =0\fontdimen
|
||||
(fontspec) 4\font \fontdimen 7\font =0\fontdimen 2\font
|
||||
(fontspec) \tex_hyphenchar:D \font =-1\scan_stop:
|
||||
|
||||
(./main.aux)
|
||||
\openout1 = main.aux
|
||||
|
||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 16.
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 16.
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 16.
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 16.
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 16.
|
||||
LaTeX Font Info: Trying to load font information for TS1+cmr on input line 16.
|
||||
(/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
File: ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
|
||||
)
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 16.
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 16.
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 16.
|
||||
LaTeX Font Info: ... okay on input line 16.
|
||||
\c@lstlisting=\count297
|
||||
|
||||
Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid
|
||||
(fontspec) this).
|
||||
|
||||
\symlegacymaths=\mathgroup4
|
||||
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
|
||||
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \acute on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \grave on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \ddot on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \tilde on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \bar on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \breve on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \check on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \hat on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \dot on input line 16.
|
||||
LaTeX Font Info: Redeclaring math accent \mathring on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \colon on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Delta on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Theta on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Xi on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Pi on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Phi on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Psi on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \Omega on input line 16.
|
||||
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 16.
|
||||
LaTeX Font Info: Redeclaring symbol font `operators' on input line 16.
|
||||
LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font
|
||||
(Font) `operators' in the math version `normal' on input line 16.
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
|
||||
(Font) OT1/cmr/m/n --> TU/lmr/m/n on input line 16.
|
||||
LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font
|
||||
(Font) `operators' in the math version `bold' on input line 16.
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
|
||||
(Font) OT1/cmr/bx/n --> TU/lmr/m/n on input line 16.
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
|
||||
(Font) TU/lmr/m/n --> TU/lmr/m/n on input line 16.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
|
||||
(Font) OT1/cmr/m/it --> TU/lmr/m/it on input line 16.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
|
||||
(Font) OT1/cmr/bx/n --> TU/lmr/b/n on input line 16.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
|
||||
(Font) OT1/cmss/m/n --> TU/lmss/m/n on input line 16.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
|
||||
(Font) OT1/cmtt/m/n --> TU/AntikorMonoMedium(0)/m/n on input line 16.
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
|
||||
(Font) TU/lmr/m/n --> TU/lmr/b/n on input line 16.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
|
||||
(Font) OT1/cmr/bx/it --> TU/lmr/b/it on input line 16.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
|
||||
(Font) OT1/cmss/bx/n --> TU/lmss/b/n on input line 16.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
|
||||
(Font) OT1/cmtt/m/n --> TU/AntikorMonoMedium(0)/b/n on input line 16.
|
||||
|
||||
*geometry* driver: auto-detecting
|
||||
*geometry* detected driver: luatex
|
||||
*geometry* verbose mode - [ preamble ] result:
|
||||
* driver: luatex
|
||||
* paper: a4paper
|
||||
* layout: <same size as paper>
|
||||
* layoutoffset:(h,v)=(0.0pt,0.0pt)
|
||||
* modes:
|
||||
* h-part:(L,W,R)=(72.26999pt, 452.9679pt, 72.26999pt)
|
||||
* v-part:(T,H,B)=(72.26999pt, 700.50687pt, 72.26999pt)
|
||||
* \paperwidth=597.50787pt
|
||||
* \paperheight=845.04684pt
|
||||
* \textwidth=452.9679pt
|
||||
* \textheight=700.50687pt
|
||||
* \oddsidemargin=0.0pt
|
||||
* \evensidemargin=0.0pt
|
||||
* \topmargin=-37.0pt
|
||||
* \headheight=12.0pt
|
||||
* \headsep=25.0pt
|
||||
* \topskip=10.0pt
|
||||
* \footskip=30.0pt
|
||||
* \marginparwidth=57.0pt
|
||||
* \marginparsep=11.0pt
|
||||
* \columnsep=10.0pt
|
||||
* \skip\footins=9.0pt plus 4.0pt minus 2.0pt
|
||||
* \hoffset=0.0pt
|
||||
* \voffset=0.0pt
|
||||
* \mag=1000
|
||||
* \@twocolumnfalse
|
||||
* \@twosidefalse
|
||||
* \@mparswitchfalse
|
||||
* \@reversemarginfalse
|
||||
* (1in=72.27pt=25.4mm, 1cm=28.453pt)
|
||||
|
||||
(/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
|
||||
[Loading MPS to PDF converter (version 2006.09.02).]
|
||||
\scratchcounter=\count298
|
||||
\scratchdimen=\dimen194
|
||||
\scratchbox=\box68
|
||||
\nofMPsegments=\count299
|
||||
\nofMParguments=\count300
|
||||
\everyMPshowfont=\toks33
|
||||
\MPscratchCnt=\count301
|
||||
\MPscratchDim=\dimen195
|
||||
\MPnumerator=\count302
|
||||
\makeMPintoPDFobject=\count303
|
||||
\everyMPtoPDFconversion=\toks34
|
||||
) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
|
||||
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
|
||||
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 485.
|
||||
(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
|
||||
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
|
||||
))
|
||||
LaTeX Font Info: Font shape `TU/AntikorMonoMedium(0)/m/n' will be
|
||||
(Font) scaled to size 7.19995pt on input line 34.
|
||||
LaTeX Font Info: Font shape `TU/AntikorMonoMedium(0)/m/n' will be
|
||||
(Font) scaled to size 8.99994pt on input line 51.
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <7> on input line 51.
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <5> on input line 51.
|
||||
|
||||
|
||||
LaTeX Font Warning: Font shape `TU/AntikorMonoMedium(0)/b/n' undefined
|
||||
(Font) using `TU/AntikorMonoMedium(0)/m/n' instead on input line 58.
|
||||
|
||||
LaTeX Font Info: Font shape `TU/AntikorMonoMedium(0)/m/n' will be
|
||||
(Font) scaled to size 10.79993pt on input line 58.
|
||||
[1
|
||||
|
||||
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
|
||||
LaTeX Font Info: Font shape `TU/AntikorMonoMedium(0)/b/n' will be
|
||||
(Font) scaled to size 10.79993pt on input line 95.
|
||||
[2] (./main.aux)
|
||||
|
||||
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
|
||||
|
||||
)
|
||||
|
||||
Here is how much of LuaTeX's memory you used:
|
||||
16638 strings out of 477800
|
||||
381554,794899 words of node,token memory allocated
|
||||
418 words of node memory still in use:
|
||||
3 hlist, 1 vlist, 1 rule, 2 glue, 3 kern, 1 glyph, 5 attribute, 49 glue_spec, 5 attribute_list, 2 write nodes
|
||||
avail lists: 1:1,2:5181,3:150,4:6758,5:6284,6:108,7:12154,8:5,9:17620,10:19,11:558
|
||||
36798 multiletter control sequences out of 65536+600000
|
||||
40 fonts using 3303703 bytes
|
||||
104i,6n,101p,525b,733s stack positions out of 5000i,500n,10000p,200000b,80000s
|
||||
</home/nikolaj/.local/share/fonts/AntikorMono/AntikorMono-Medium.ttf></usr/share/fonts/OTF/lmroman8-regular.otf></usr/share/fonts/OTF/lmroman10-regular.otf></usr/share/fonts/OTF/lmroman12-bold.otf></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
|
||||
Output written on main.pdf (2 pages, 50646 bytes).
|
||||
|
||||
PDF statistics: 50 PDF objects out of 1000 (max. 8388607)
|
||||
31 compressed objects within 1 object stream
|
||||
0 named destinations out of 1000 (max. 131072)
|
||||
16 words of extra memory for PDF output out of 10000 (max. 100000000)
|
||||
|
||||
|
Binary file not shown.
1
W1/report/main.pyg
Normal file
1
W1/report/main.pyg
Normal file
@ -0,0 +1 @@
|
||||
e
|
Binary file not shown.
@ -1,6 +1,17 @@
|
||||
\documentclass[a4paper]{article}
|
||||
\usepackage{listings}
|
||||
\usepackage{fontspec}
|
||||
\usepackage[margin=1in]{geometry}
|
||||
|
||||
\input{fasto.sty}
|
||||
|
||||
\renewcommand{\thesection}{Task \arabic{section}}
|
||||
\renewcommand{\thesubsection}{\alph{subsection})}
|
||||
|
||||
\setmonofont[Scale=0.9]{Antikor Mono Medium}
|
||||
|
||||
\setlength{\parskip}{5pt}
|
||||
\setlength{\parindent}{0pt}
|
||||
|
||||
\begin{document}
|
||||
\section{}
|
||||
@ -8,9 +19,116 @@
|
||||
\item I am a DIKU Computer Science BSc, general profile
|
||||
\item I have little to no proficiency with F\#
|
||||
\item I have mininal knowledge of assembly programming
|
||||
\item
|
||||
\item I'm very interested in the topic of compilers
|
||||
\end{enumerate}
|
||||
|
||||
\section{}
|
||||
|
||||
\subsection{Completeness and Correctness}
|
||||
All the requested features have been implemented fully. All 10 possible expressions are accounted for, which can be seen by testing each individually, or together.
|
||||
|
||||
The program has shown to give the correct answers in all test cases.
|
||||
|
||||
Both completeness and correctness can be shown in these tests, all of which return correct results:
|
||||
|
||||
\begin{lstlisting}
|
||||
Welcome to the calculator! Type "exit" to stop.
|
||||
Input an expression : 1+2+3+4-(5+6)
|
||||
Evaluation result : INT -1
|
||||
Input an expression : let x=7 in (x*8+9)
|
||||
Evaluation result : INT 65
|
||||
Input an expression : sum x=1 to 10 of (prod y=x to 10 of y)
|
||||
Evaluation result : INT 9864100
|
||||
Input an expression : max x = 0 to 10 of 5*x-x*x
|
||||
Evaluation result : INT 6
|
||||
Input an expression : argmax x = 0 to 10 of 5*x-x*x
|
||||
Evaluation result : INT 2
|
||||
\end{lstlisting}
|
||||
|
||||
\subsection{Effeciency}
|
||||
The program runs efficiently and with no obvious uses of excessive memory.
|
||||
|
||||
Any singular expression, apart from the \texttt{OVER} expressions runs in constant time, ignoring any expressions it contains. This means that any expression that contains $n$ non-\texttt{OVER} expressions runs in linear time, $O(n)$.
|
||||
|
||||
The \texttt{OVER} expressions contain a loop, meaning they run in linear time by themselves.
|
||||
|
||||
\subsection{Code Sharing/Elegance}
|
||||
The code is made readable and with mininal code duplication. The \texttt{OPERATE} and \texttt{OVER} expressions have code run before the specific expression is determined, which reduced duplication.
|
||||
|
||||
\subsection*{The full \texttt{eval} code}
|
||||
|
||||
\begin{lstlisting}[language=FSharp]
|
||||
let rec eval (vtab : SymTab) (e : EXP) : VALUE =
|
||||
match e with
|
||||
| CONSTANT n -> n
|
||||
| VARIABLE v ->
|
||||
lookup v vtab
|
||||
| OPERATE (op, e1, e2) ->
|
||||
let (INT exp1) = eval vtab e1
|
||||
let (INT exp2) = eval vtab e2
|
||||
match op with
|
||||
| BPLUS -> INT (exp1 + exp2)
|
||||
| BMINUS -> INT (exp1 - exp2)
|
||||
| BTIMES -> INT (exp1 * exp2)
|
||||
| LET_IN (var, e1, e2) ->
|
||||
let exp1 = eval vtab e1
|
||||
let vtab = bind var exp1 vtab
|
||||
eval vtab e2
|
||||
| OVER (rop, var, e1, e2, e3) ->
|
||||
let (INT exp1) = eval vtab e1
|
||||
let (INT exp2) = eval vtab e2
|
||||
let results = [
|
||||
for i in exp1..exp2 ->
|
||||
let vtab = bind var (INT i) vtab
|
||||
eval vtab e3
|
||||
]
|
||||
match rop with
|
||||
| RSUM -> List.fold (fun (INT acc) (INT elem) -> INT (acc + elem)) (INT 0) results
|
||||
| RPROD -> List.fold (fun (INT acc) (INT elem) -> INT (acc * elem)) (INT 1) results
|
||||
| RMAX -> List.fold (fun (INT acc) (INT elem) -> INT (max acc elem)) results[0] results
|
||||
| RARGMAX ->
|
||||
let max_elem = List.fold (fun (INT acc) (INT elem) -> INT (max acc elem)) results[0] results
|
||||
INT ((List.findIndex ((=) max_elem) results) + exp1)
|
||||
\end{lstlisting}
|
||||
|
||||
\section{}
|
||||
\subsection{The \texttt{mul} function}
|
||||
\begin{lstlisting}[language=Fasto]
|
||||
fun int mul(int x, int y) =
|
||||
if y == 0 then 0
|
||||
else if y < 0 then mul(x, y+1) - x
|
||||
else mul(x, y-1) + x
|
||||
\end{lstlisting}
|
||||
|
||||
The \texttt{mul} functions is recursive. The base level, when \texttt{y} is 0, 0 is returned. In all other cases, \texttt{y} is moved 1 step closer to 0, and \texttt{x} is either added or subtracked from the final result.
|
||||
|
||||
\subsection{The \texttt{dif} array}
|
||||
\begin{lstlisting}[language=Fasto, firstnumber=16]
|
||||
let dif = map(fn int (int x) => if x == 0 then arr[x] else arr[x] - arr[x-1], iota(n)) in
|
||||
\end{lstlisting}
|
||||
|
||||
The \texttt{dif} array is constructed using an anonymous function in a \texttt{map} function call.
|
||||
|
||||
\subsection*{The full Fasto code}
|
||||
\begin{lstlisting}[language=Fasto]
|
||||
fun int mul(int x, int y) =
|
||||
if y == 0 then 0
|
||||
else if y < 0 then mul(x, y+1) - x
|
||||
else mul(x, y-1) + x
|
||||
|
||||
fun int readInt(int i) = read(int)
|
||||
|
||||
fun int squareSum(int x, int y) = x + mul(y, y)
|
||||
|
||||
fun int main() =
|
||||
let n = read(int) in
|
||||
if n == 0 then let a = write("Incorrect Input!") in 0
|
||||
else if n < 0 then let a = write("Incorrect Input!") in 0
|
||||
else
|
||||
let arr = map(readInt, iota(n)) in
|
||||
let dif = map(fn int (int x) => if x == 0 then arr[x] else arr[x] - arr[x-1], iota(n)) in
|
||||
write(reduce(squareSum, 0, dif))
|
||||
|
||||
\end{lstlisting}
|
||||
|
||||
\end{document}
|
Reference in New Issue
Block a user