Changeset a00bc5b for doc/theses
- Timestamp:
- Jan 13, 2021, 3:43:14 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 270bdc8, 402658b1, bb58825
- Parents:
- 97748ee (diff), 101cc3a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- doc/theses
- Files:
-
- 3 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/existing.tex
r97748ee ra00bc5b 83 83 the the call site. 84 84 85 As an example, even if no function named \codeCFA{do \_once} is not defined86 near the definition of \codeCFA{do \_twice} the following code will work.85 As an example, even if no function named \codeCFA{do_once} is not defined 86 near the definition of \codeCFA{do_twice} the following code will work. 87 87 \begin{lstlisting} 88 88 int quadruple(int x) { … … 95 95 \end{lstlisting} 96 96 This is not the recommended way to implement a quadruple function but it 97 does work. The complier will deduce that \codeCFA{do \_twice}'s T is an97 does work. The complier will deduce that \codeCFA{do_twice}'s T is an 98 98 integer from the argument. It will then look for a definition matching the 99 assertion which is the \codeCFA{do \_once} defined within the function. That100 function will be passed in as a function pointer to \codeCFA{do \_twice} and99 assertion which is the \codeCFA{do_once} defined within the function. That 100 function will be passed in as a function pointer to \codeCFA{do_twice} and 101 101 called within it. 102 102 … … 156 156 In \CFA coroutines are created using the \codeCFA{coroutine} keyword which 157 157 works just like \codeCFA{struct} except that the created structure will be 158 modified by the compiler to satify the \codeCFA{is \_coroutine} trait.158 modified by the compiler to satify the \codeCFA{is_coroutine} trait. 159 159 160 160 These structures act as the interface between callers and the coroutine, -
doc/theses/fangren_yu_COOP_S20/Report.tex
r97748ee ra00bc5b 56 56 57 57 \title{\Huge 58 cfa-ccDeveloper's Reference58 \lstinline|cfa-cc| Developer's Reference 59 59 }% title 60 60 … … 728 728 The \CFA compiler sets a limit on assertion depth and reports an error if assertion resolution does not terminate within the limit (as for \lstinline[language=C++]@templates@ in \CC). 729 729 730 \addcontentsline{toc}{section}{\refname} 730 731 \bibliographystyle{plain} 731 732 \bibliography{pl}
Note: See TracChangeset
for help on using the changeset viewer.