@@ -10,37 +10,35 @@ and frameworks, and is memory safe (by default).
10
10
Although inspired by Objective-C and many other languages, Swift is not itself a
11
11
C-derived language. As a complete and independent language, Swift packages core
12
12
features like flow control, data structures, and functions, with high-level
13
- constructs like objects, protocols, closures, and generics. Swift embraces
13
+ constructs like objects, protocols, closures, and generics. Swift embraces
14
14
modules, eliminating the need for headers and the code duplication they entail.
15
15
16
16
17
17
## Documentation
18
18
19
- To read the documentation, start by installing the
20
- [ Sphinx] ( http://sphinx-doc.org ) documentation generator tool (just run
19
+ To read the documentation, start by installing the
20
+ [ Sphinx] ( http://sphinx-doc.org ) documentation generator tool (just run
21
21
` easy_install -U Sphinx ` from the command line and you're good to go). Once you
22
- have that, you can build the Swift documentation by going into ` docs ` and
23
- typing ` make ` . This compiles the ` .rst ` files in the ` docs ` directory into
22
+ have that, you can build the Swift documentation by going into ` docs ` and
23
+ typing ` make ` . This compiles the ` .rst ` files in the ` docs ` directory into
24
24
HTML in the ` docs/_build/html ` directory.
25
25
26
- Once built, the best place to start is with the Swift white paper, which gives a
27
- tour of the language (in ` docs/_build/html/whitepaper/index.html ` ).
28
- Another potentially useful document is ` docs/LangRef ` , which gives a low level
26
+ A potentially useful document to start is ` docs/LangRef ` , which gives a low level
29
27
tour of how the language works from the implementation perspective.
30
28
31
29
Many of the docs are out of date, but you can see some historical design
32
30
documents in the ` docs ` directory.
33
31
34
32
Another source of documentation is the standard library itself, located in
35
- ` stdlib ` . Much of the language is actually implemented in the library
33
+ ` stdlib ` . Much of the language is actually implemented in the library
36
34
(including ` Int ` ), and the standard library gives some examples of what can be
37
35
expressed today.
38
36
39
37
40
38
## Getting Started
41
39
42
40
These instructions give the most direct path to a working Swift
43
- development environment. Options for doing things differently are
41
+ development environment. Options for doing things differently are
44
42
discussed below.
45
43
46
44
@@ -80,7 +78,7 @@ For those checking out sources as read-only:
80
78
git clone https://github.com/apple/swift-corelibs-foundation.git
81
79
82
80
For those who plan on regularly making direct commits, cloning over
83
- SSH may provide a better experience (which requires uploading
81
+ SSH may provide a better experience (which requires uploading
84
82
SSH keys to GitHub):
85
83
86
84
git clone [email protected] :apple/swift.git swift
0 commit comments