|
7 | 7 | <h1 roll="heading">{{page.title | escape}}</h1>
|
8 | 8 |
|
9 | 9 | <p>
|
10 |
| - The old DelphiDabbler site had two web applications that displayed code snippets from two different sources: |
| 10 | + I maintain two repositories of Pascal code snippets: |
11 | 11 | </p>
|
12 | 12 |
|
13 |
| -<ol class="wide"> |
| 13 | +<ol> |
14 | 14 | <li>
|
15 |
| - The DelphiDabbler Code Snippets "Database" of compilable Delphi Pascal snippets. |
| 15 | + The <em>DelphiDabbler Code Snippets Collection</em>, which is an extensive collection of Delphi Pascal snippets. |
16 | 16 | </li>
|
17 | 17 | <li>
|
18 |
| - The old SWAG (<b>S</b>ource<b>W</b>are <b>A</b>rchive <b>G</b>roup) collection of source code and programming examples. |
| 18 | + The old <em>SWAG</em> (<b>S</b>ource<b>W</b>are <b>A</b>rchive <b>G</b>roup) collection of source code and programming examples. |
19 | 19 | </li>
|
20 | 20 | </ol>
|
21 | 21 |
|
22 |
| -<p class="alert alert-danger glyph"> |
23 |
| - Both web apps depended on web services provided by the old web server and were lost when that server closed down. It would be a big job to recover and convert the apps. |
24 |
| -</p> |
25 |
| - |
26 | 22 | <p>
|
27 |
| - All is not lost. I have created a couple of Git repositories GitHub to hold the snippet collections. They are: |
| 23 | + The repositories are: |
28 | 24 | </p>
|
29 | 25 |
|
30 | 26 | <ul class="list-group">
|
31 | 27 | <li class="list-group-item">
|
32 | 28 | <p class="strong">
|
33 |
| - <a href="https://github.com/delphidabbler/code-snippets" aria-label="DelphiDabbler Code Snippets database repository on GitHub">delphidabbler/code-snippets</a> |
| 29 | + <a href="https://github.com/delphidabbler/code-snippets" aria-label="DelphiDabbler Code Snippets Collection on GitHub">delphidabbler/code-snippets</a> |
| 30 | + </p> |
| 31 | + <p> |
| 32 | + This repository contains all the snippets in the <em>DelphiDabbler Code Snippets Collection</em> along with meta data stored in .ini files. |
34 | 33 | </p>
|
35 | 34 | <p>
|
36 |
| - This repository contains all the snippets in the Code Snippets Database along with meta data stored in .ini files. The database is in the <code>csdb</code> directory off the repository root. |
| 35 | + The collection can be displayed by my <a href="/software/codesnip">CodeSnip</a> program. |
| 36 | + </p> |
| 37 | + <p> |
| 38 | + Some of the snippets have unit tests or demo programs, all of which are available from the repository. |
37 | 39 | </p>
|
38 | 40 | </li>
|
39 | 41 | <li class="list-group-item">
|
40 | 42 | <p class="strong">
|
41 | 43 | <a href="https://github.com/delphidabbler/swag" aria-label="SWAG collection repository on GitHub">delphidabbler/swag</a>
|
42 | 44 | </p>
|
43 | 45 | <p>
|
44 |
| - This repository contains all the "packets" (a SWAG term for a snippet) in the collection along with an XML file containing meta data. |
| 46 | + This repository contains the <em>SWAG</em> collection. It contains all the "packets" (a SWAG term for a snippet) along with an XML file containing meta data. |
| 47 | + </p> |
| 48 | + <p> |
| 49 | + The collection can be viewed using my <a href="/software/swagview">SWAGView</a> program. Selected SWAG packets can also be imported into <a href="/software/codesnip">CodeSnip</a>. |
45 | 50 | </p>
|
46 | 51 | </li>
|
47 | 52 | </ul>
|
48 | 53 |
|
49 | 54 | <p>
|
50 | 55 | Both collections are comprehensively documented.
|
51 | 56 | </p>
|
52 |
| - |
53 |
| -<p class="alert alert-info glyph"> |
54 |
| - The Code Snippets Database can be displayed by my <a href="/software/codesnip">CodeSnip</a> program. It can also import SWAG packages. In fact CodeSnip's SWAG import wizard contains a pretty reasonable SWAG viewer! |
55 |
| -</p> |
56 |
| - |
57 |
| -<h2> |
58 |
| - Tests |
59 |
| -</h2> |
60 |
| - |
61 |
| -<p> |
62 |
| - There are some unit tests available for a few of the snippets in the Code Snippets Database. The tests for the latest release of the database can be downloaded from the project's <a href="https://github.com/delphidabbler/code-snippets/releases">Releases page</a>. |
63 |
| -</p> |
0 commit comments