Ignore:
Timestamp:
Jun 16, 2021, 10:44:22 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
edebbf7
Parents:
b51e389c
Message:

Andrew MMath: Update the first three chapters using Colby's comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/existing.tex

    rb51e389c r6071efc  
    1010
    1111Only those \CFA features pertaining to this thesis are discussed.
    12 Also, only new features of \CFA will be discussed, a basic familiarity with
     12Also, only new features of \CFA will be discussed, a familiarity with
    1313C or C-like languages is assumed.
    1414
     
    8888Operator uses are translated into function calls using these names.
    8989These names are created by taking the operator symbols and joining them with
    90 @?@ where the arguments would go.
     90@?@s to show where the arguments go.
    9191For example,
    9292infixed multiplication is @?*?@ while prefix dereference is @*?@.
     
    9595
    9696\begin{cfa}
    97 int ?+?(point a, point b) { return point{a.x + b.x, a.y + b.y}; }
     97point ?+?(point a, point b) { return point{a.x + b.x, a.y + b.y}; }
    9898bool ?==?(point a, point b) { return a.x == b.x && a.y == b.y; }
    9999{
Note: See TracChangeset for help on using the changeset viewer.