Changeset c8ffd74f for doc/user/user.tex
- Timestamp:
- May 10, 2021, 2:18:17 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1680072
- Parents:
- 3e1a705 (diff), 4ab767a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user/user.tex
r3e1a705 rc8ffd74f 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Wed Apr 28 21:48:59202114 %% Update Count : 50 5113 %% Last Modified On : Sat May 8 08:51:33 2021 14 %% Update Count : 5062 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 65 65 % keyword escape ¶...¶ (pilcrow symbol) emacs: C-q M-^ 66 66 % math escape $...$ (dollar symbol) 67 \input{common} % common CFA document macros 67 \usepackage{common} % common CFA document macros 68 %\input{common} % common CFA document macros 68 69 \setlength{\gcolumnposn}{3in} 69 70 \CFAStyle % use default CFA format-style … … 585 586 For example, the octal ©0© or hexadecimal ©0x© prefix may end with an underscore ©0_377© or ©0x_ff©; 586 587 the exponent infix ©E© may start or end with an underscore ©1.0_E10©, ©1.0E_10© or ©1.0_E_10©; 587 the type suffixes ©U©, ©L©, etc.may start with an underscore ©1_U©, ©1_ll© or ©1.0E10_f©.588 the type suffixes ©U©, ©L©, \etc may start with an underscore ©1_U©, ©1_ll© or ©1.0E10_f©. 588 589 \end{enumerate} 589 590 It is significantly easier to read and enter long constants when they are broken up into smaller groupings (many cultures use comma and/or period among digits for the same purpose). … … 1570 1571 \end{cquote} 1571 1572 1572 All type qualifiers, \eg ©const©, ©volatile©, etc., are used in the normal way with the new declarations and also appear left to right, \eg:1573 All type qualifiers, \eg ©const©, ©volatile©, \etc, are used in the normal way with the new declarations and also appear left to right, \eg: 1573 1574 \begin{cquote} 1574 1575 \begin{tabular}{@{}l@{\hspace{1em}}l@{\hspace{1em}}l@{}} … … 1590 1591 \end{tabular} 1591 1592 \end{cquote} 1592 All declaration qualifiers, \eg ©extern©, ©static©, etc., are used in the normal way with the new declarations but can only appear at the start of a \CFA routine declaration,\footnote{\label{StorageClassSpecifier}1593 All declaration qualifiers, \eg ©extern©, ©static©, \etc, are used in the normal way with the new declarations but can only appear at the start of a \CFA routine declaration,\footnote{\label{StorageClassSpecifier} 1593 1594 The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature.~\cite[\S~6.11.5(1)]{C11}} \eg: 1594 1595 \begin{cquote} … … 3147 3148 also, it is unnecessary to specify all the fields of a struct in a multiple record-field tuple. 3148 3149 3149 Since tuple-index expressions are a form of member-access expression, it is possible to use tuple-index expressions in conjunction with member-access expressions to restructure a tuple (\eg, rearrange components, drop components, duplicate components, etc.).3150 Since tuple-index expressions are a form of member-access expression, it is possible to use tuple-index expressions in conjunction with member-access expressions to restructure a tuple (\eg, rearrange components, drop components, duplicate components, \etc). 3150 3151 \begin{cfa} 3151 3152 [ int, int, long, double ] x; … … 3972 3973 3973 3974 \item 3974 \Indexc{sepOn}\index{manipulator!sepOn@©sepOn©} and \Indexc{sepOff}\index{manipulator!sepOff@©sepOff©} toggle printing the separator with respect to the next printed item, and then return to the global sep erator setting.3975 \Indexc{sepOn}\index{manipulator!sepOn@©sepOn©} and \Indexc{sepOff}\index{manipulator!sepOff@©sepOff©} toggle printing the separator with respect to the next printed item, and then return to the global separator setting. 3975 3976 \begin{cfa}[belowskip=0pt] 3976 3977 sout | 1 | sepOff | 2 | 3; $\C{// turn off implicit separator for the next item}$ … … 5659 5660 \item 5660 5661 Package: a container to organize modules for distribution; It has attributes like name, author, 5661 version, dependences, etc.5662 \item 5663 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, etc.5662 version, dependences, \etc. 5663 \item 5664 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, \etc. 5664 5665 \end{itemize} 5665 5666 … … 5798 5799 5799 5800 A package is defined by putting a project description file, Do.prj, with one or more modules into a directory. 5800 This project description file contains the package's meta data, including package name, author, version, dependences, etc.5801 This project description file contains the package's meta data, including package name, author, version, dependences, \etc. 5801 5802 It should be in the root of the package directory. 5802 5803 … … 5855 5856 Module: a container to organize a set of related types and methods; It has a module name, and several interfaces visible from outside 5856 5857 \item 5857 Package: a container to organize modules for distribution; It has attributes like name, author, version, dependences, etc.5858 \item 5859 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, etc.5858 Package: a container to organize modules for distribution; It has attributes like name, author, version, dependences, \etc. 5859 \item 5860 Project: a working set for a \CFA project; It has attributes like name, author, version, dependences, \etc. 5860 5861 \end{itemize} 5861 5862
Note: See TracChangeset
for help on using the changeset viewer.