Context Navigation


Changeset 191 for docs


Ignore:
Timestamp:
Jan 24, 2008, 6:53:55 PM (18 years ago)
Author:
neil.c.c.brown
Message:

Various tweaks to the presentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/trunk/hacking-guide/tock-intro.tex

    r190 r191
    1818\newpage
    1919
    20\section{Getting the Code}
    21
    22All details currently reside on this page: \url{http://www.cs.kent.ac.uk/research/groups/sys/wiki/Tock}
    23
    24Tock is held in a darcs repository. Darcs is broadly similar to CVS/SVN. The following few commands will usually suffice:
    20\section{Get the Code}
    21
    22All details about checking out the code, committing your changes, the mailing list,
    23and how to keep track of the repository, currently reside on this page:
    24\url{http://www.cs.kent.ac.uk/research/groups/sys/wiki/Tock}.
    25
    26Tock is held in a darcs repository. Darcs is broadly similar to CVS/SVN.
    27You can find more details on the Darcs website (\url{http://darcs.net/}) or in the manual
    28(\url{http://darcs.net/manual/}) but the following few commands will usually suffice:
    2529
    2630\begin{itemize}
    3640is a big change.
    3741
    38\section{Find(削除) ing (削除ここまで) the Right Place}
    42\section{Find(追記) (追記ここまで) the Right Place}
    3943
    4044Tock's modules are currently arranged into four directories. They are:
    4953\end{enumerate}
    5054
    51T(削除) ests are in the same directory as the thing they test. The separation is by no means hard-and-fast, (削除ここまで)
    52(削除) or perfect, but it's better than nothing (削除ここまで).
    55T(追記) he separation is by no means hard-and-fast, or perfect, but it's better than nothing. (追記ここまで)
    56(追記) Tests are in the same directory as the thing they test (追記ここまで).
    5357
    5458The directories should provide a quick idea of where to find what you are interested in. Data types
    5862
    5963The \lstinline|Main| module in the main tock directory is the actual module for the tock executable.
    60It merely deals with the command-line options and (削除) string (削除ここまで)s together the various passes according to
    64It merely deals with the command-line options and (追記) join (追記ここまで)s together the various passes according to
    6165the options given.
    6266
    8084The last point is somewhat unavoidable, without an inspired re-write. Knowledge of occam will help
    8185a lot with understanding the AST, except perhaps for the \lstinline|Structured| item (see below).
    82Haskell knowledge can be solved with a book or two (or other web resources); monads a(削除) re also covered (削除ここまで)
    83(削除) (削除ここまで)in a section below.
    86Haskell knowledge can be solved with a book or two (or other web resources); monads a(追記) nd generics (追記ここまで)
    87(追記) are each covered (追記ここまで)in a section below.
    8488
    8589\subsection{A.Structured}
    8993such as SEQ, PAR, ALT, CASE. Because occam allows the inter-mingling of processes and declarations,
    9094and also replication on most of its constructs (SEQ, PAR, ALT, IF) Structured eliminates redundancy
    91by grouping this together. So for example, given this occam ps(削除) ue (削除ここまで)do-code:
    95by grouping this together. So for example, given this occam ps(追記) eu (追記ここまで)do-code:
    9296
    9397\occamsettings\begin{lstlisting}
    205209\end{lstlisting}
    206210
    207Where `spec' is shorthand for the full specification of `x'. The specification (third argument(削除) ) (削除ここまで)
    208is in scope for the whole of the body (the fourth argument). Multiple specifications lead to
    209(削除) (削除ここまで)nested Specifications:
    211Where `spec' is shorthand for the full specification of `x'. The specification (third argument(追記) (追記ここまで)
    212of Specification) is in scope for the whole of the body (the fourth argument).
    213(追記) Multiple specifications lead to (追記ここまで)nested Specifications:
    210214
    211215\occamsettings\begin{lstlisting}
Note: See TracChangeset for help on using the changeset viewer.

AltStyle によって変換されたページ (->オリジナル) /