Changeset 5717495


Ignore:
Timestamp:
Mar 17, 2023, 11:47:05 AM (7 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
ADT, ast-experimental, master
Children:
9d84a88
Parents:
1fd3d85
Message:

Start of the linked-list chapter.

Location:
doc/theses/mike_brooks_MMath
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/Makefile

    r1fd3d85 r5717495  
    88PicSRC = ${notdir ${wildcard ${Pictures}/*.png}}
    99DemoSRC = ${notdir ${wildcard ${Programs}/*-demo.cfa}}
    10 PgmSRC = ${notdir ${wildcard ${Programs}/*.cfa}}
     10PgmSRC = ${notdir ${wildcard ${Programs}/*}}
     11RunPgmSRC = ${notdir ${wildcard ${Programs}/*.run.*}}
    1112BibSRC = ${wildcard *.bib}
    1213
     
    1415BibLIB = .:../../bibliography                   # common citation repository
    1516
    16 MAKEFLAGS = --no-print-directory # --silent
     17#MAKEFLAGS = --no-print-directory # --silent
    1718VPATH = ${Build} ${Pictures} ${Programs} # extra search path for file names used in document
    1819
     
    2021BASE = ${basename ${DOCUMENT}}                  # remove suffix
    2122
     23DemoTex = ${DemoSRC:%.cfa=${Build}/%.tex}
     24RunPgmExe = ${addprefix ${Build}/,${basename ${basename ${RunPgmSRC}}}}
     25RunPgmOut = ${RunPgmExe:%=%.out}
     26
    2227# Commands
    2328
    2429LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && pdflatex -halt-on-error -output-directory=${Build}
    2530BibTeX = BIBINPUTS=${BibLIB} && export BIBINPUTS && bibtex
    26 CFA = cfa
     31CFA = cfa -O0 -g
     32CC  = gcc -O0 -g
     33CXX = g++-11 --std=c++20 -O0 -g
    2734
    2835# Rules and Recipes
    2936
    30 .PHONY : all clean                              # not file names
     37.PHONY : all fragments_ran clean                        # not file names
     38.PRECIOUS : ${Build}/% ${Build}/%-demo      # don't delete intermediates
    3139.ONESHELL :
    3240
    33 all : ${DOCUMENT}
     41all : fragments_ran ${DOCUMENT}
     42
     43fragments_ran : $(RunPgmOut)
    3444
    3545clean :
     
    3848# File Dependencies
    3949
    40 %.pdf : ${TeXSRC} ${DemoSRC:%.cfa=%.tex} ${PicSRC} ${PgmSRC} ${BibSRC} Makefile | ${Build}
     50%.pdf : ${TeXSRC} ${DemoTex} ${PicSRC} ${PgmSRC} ${BibSRC} Makefile | ${Build}
    4151        ${LaTeX} ${BASE}
    4252        ${BibTeX} ${Build}/${BASE}
     
    5262
    5363%-demo.tex: %-demo | ${Build}
    54         ${Build}/$< > ${Build}/$@
     64        $< > $@
    5565
    56 %-demo: %-demo.cfa
    57         ${CFA} $< -o ${Build}/$@
     66${Build}/%-demo: ${Programs}/%-demo.cfa | ${Build}
     67        ${CFA} $< -o $@
    5868
     69${Build}/%: ${Programs}/%.run.cfa | ${Build}
     70        ${CFA} $< -o $@
     71
     72${Build}/%: ${Programs}/%.run.c | ${Build}
     73        ${CC}  $< -o $@
     74
     75${Build}/%: ${Programs}/%.run.cpp | ${Build}
     76        ${CXX} -MMD $< -o $@
     77
     78${Build}/%.out: ${Build}/% | ${Build}
     79        $< > $@
     80
     81-include ${Build}/*.d
  • doc/theses/mike_brooks_MMath/uw-ethesis.bib

    r1fd3d85 r5717495  
    6565  bibsource = {dblp computer science bibliography, https://dblp.org}
    6666}
     67
     68% --------------------------------------------------
     69% Linked-list prior work
     70
     71@misc{CFAStackEvaluation,
     72    contributer = {a3moss@plg},
     73    author      = {Aaron Moss},
     74    title       = {\textsf{C}$\mathbf{\forall}$ Stack Evaluation Programs},
     75    year        = 2018,
     76    howpublished= {\href{https://cforall.uwaterloo.ca/CFAStackEvaluation.zip}{https://cforall.uwaterloo.ca/\-CFAStackEvaluation.zip}},
     77}
     78
     79@misc{lst:linuxq,
     80  title     = {queue(7) — Linux manual page},
     81  howpublished= {\href{https://man7.org/linux/man-pages/man3/queue.3.html}{https://man7.org/linux/man-pages/man3/queue.3.html}},
     82}
     83  % see also https://man7.org/linux/man-pages/man7/queue.7.license.html
     84  %          https://man7.org/tlpi/
     85  %          https://www.kernel.org/doc/man-pages/
     86
     87@misc{lst:stl,
     88  title     = {std::list},
     89  howpublished= {\href{https://en.cppreference.com/w/cpp/container/list}{https://en.cppreference.com/w/cpp/container/list}},
     90}
     91
  • doc/theses/mike_brooks_MMath/uw-ethesis.tex

    r1fd3d85 r5717495  
    9191\usepackage{algorithm}
    9292\usepackage{algpseudocode}
     93
     94\usepackage{pbox}
    9395
    9496% Hyperlinks make it very easy to navigate an electronic document.
     
    130132% installation instructions there.
    131133
     134% Customizing tabularx
     135\newcolumntype{Y}{>{\centering\arraybackslash}X}
     136
    132137% Setting up the page margins...
    133138\setlength{\textheight}{9in}
     
    179184\newcommand{\PAB}[1]{{\color{red}PAB: #1}}
    180185
     186
     187\newcommand{\uCpp}{$\mu${C}{\kern-.1em\hbox{\large\texttt{+\kern-.25em+}}}}
     188
    181189%======================================================================
    182190%   L O G I C A L    D O C U M E N T
     
    201209%----------------------------------------------------------------------
    202210\begin{sloppypar}
    203 
    204211\input{intro}
    205212\input{background}
     213\input{list}
    206214\input{array}
    207215\input{string}
Note: See TracChangeset for help on using the changeset viewer.