Below is a list with example Algol 68 programs, together with the cross-referenced source files of the current Algol 68 Genie version.
|
File |
Synopsis |
Lines |
1 |
a68g-apropos.c
|
Command line help. |
165 |
2 |
a68g-bits.c
|
Miscellaneous routines. |
375 |
3 |
a68g.c
|
Algol 68 Genie main driver. |
693 |
4 |
a68g-conversion.c
|
Conversion tables for IEEE platforms. |
84 |
5 |
a68g-diagnostics.c
|
Error and warning routines. |
814 |
6 |
a68g-io.c
|
Low-level input-output routines. |
273 |
7 |
a68g-keywords.c
|
Algol 68 keyword tables. |
214 |
8 |
a68g-listing.c
|
Old-school listing file. |
707 |
9 |
a68g-mem.c
|
Low-level memory management. |
261 |
10 |
a68g-non-terminal.c
|
Non-terminal tables. |
417 |
11 |
a68g-options.c
|
Algol 68 Genie options. |
1133 |
12 |
a68g-path.c
|
Low-level file path routines. |
157 |
13 |
a68g-postulates.c
|
Postulates needed for proving equivalence of modes. |
92 |
14 |
a68g-pretty.c
|
Lay-out formatter for Algol 68. |
1340 |
15 |
double.c
|
LONG INT, LONG REAL and LONG BITS routines. |
1986 |
16 |
double-gamic.c
|
LONG REAL generalised incomplete gamma function. |
416 |
17 |
double-math.c
|
LONG REAL, LONG COMPLEX routines. |
358 |
18 |
genie-assign.c
|
Interpreter routines for assignations. |
152 |
19 |
genie.c
|
Interpreter driver. |
878 |
20 |
genie-call.c
|
Interpreter routines for procedure calls. |
278 |
21 |
genie-coerce.c
|
Interpreter mode coercion routines. |
492 |
22 |
genie-declaration.c
|
Interpreter routines for declarations. |
215 |
23 |
genie-denotation.c
|
Interpreter routines for denotations. |
280 |
24 |
genie-enclosed.c
|
Interpreter routines for enclosed clauses. |
912 |
25 |
genie-formula.c
|
Interpreter routines for formulas. |
185 |
26 |
genie-hip.c
|
Interpreter routines for jumps and SKIP. |
223 |
27 |
genie-identifier.c
|
Interpreter routines for identifiers. |
91 |
28 |
genie-misc.c
|
Miscellaneous interpreter routines. |
113 |
29 |
genie-regex.c
|
Low-level regular expression routines. |
288 |
30 |
genie-rows.c
|
Interpreter routines for ROW values. |
139 |
31 |
genie-stowed.c
|
Interpreter routines for STOWED values. |
420 |
32 |
genie-unix.c
|
Low-level UNIX routines. |
845 |
33 |
moids-diagnostics.c
|
MOID diagnostics routines. |
186 |
34 |
moids-misc.c
|
Miscellaneous MOID routines. |
1196 |
35 |
moids-size.c
|
Memory footprint (size) of a mode. |
273 |
36 |
moids-to-string.c
|
Pretty-print a MOID. |
299 |
37 |
mp-bits.c
|
[LONG] LONG BITS routines, legacy MP implementation. |
654 |
38 |
mp.c
|
[LONG] LONG INT, REAL routines. |
1315 |
39 |
mp-complex.c
|
[LONG] LONG COMPLEX math functions. |
528 |
40 |
mp-gamic.c
|
[LONG] LONG REAL generalised incomplete gamma function. |
831 |
41 |
mp-gamma.c
|
[LONG] LONG REAL error, gamma and beta functions. |
498 |
42 |
mp-genie.c
|
Multi-precision interpreter routines. |
1411 |
43 |
mp-math.c
|
[LONG] LONG REAL math functions. |
1384 |
44 |
mp-mpfr.c
|
[LONG] LONG REAL routines using GNU MPFR. |
530 |
45 |
mp-pi.c
|
[LONG] LONG REAL value of pi by AGM. |
136 |
46 |
parser-bottom-up.c
|
Hand-coded bottom-up parser for Algol 68. |
2032 |
47 |
parser-brackets.c
|
Recursive-descent parenthesis checker. |
231 |
48 |
parser.c
|
Mailloux-type Algol 68 parser driver. |
985 |
49 |
parser-extract.c
|
Extract tags from phrases. |
543 |
50 |
parser-modes.c
|
Mode table management. |
1062 |
51 |
parser-moids-check.c
|
Mode checker routines. |
1746 |
52 |
parser-moids-coerce.c
|
Mode coercion driver. |
864 |
53 |
parser-moids-equivalence.c
|
Prove equivalence of modes. |
159 |
54 |
parser-refinement.c
|
Refinement preprocessor. |
238 |
55 |
parser-scanner.c
|
Context-dependent Algol 68 tokeniser. |
1606 |
56 |
parser-scope.c
|
Static scope checker. |
896 |
57 |
parser-taxes.c
|
Symbol table management. |
1411 |
58 |
parser-top-down.c
|
Top-down parser for control structure. |
681 |
59 |
parser-victal.c
|
Syntax check for formal, actual and virtual declarers. |
311 |
60 |
plugin-basic.c
|
Plugin compiler routines. |
388 |
61 |
plugin.c
|
Plugin compiler driver. |
973 |
62 |
plugin-driver.c
|
Plugin compiler driver. |
183 |
63 |
plugin-folder.c
|
Plugin compiler constant folder. |
453 |
64 |
plugin-gen.c
|
Plugin compiler generator routines. |
1806 |
65 |
plugin-inline.c
|
Plugin compiler inlining routines. |
1178 |
66 |
plugin-script.c
|
Plugin script builder routines. |
164 |
67 |
plugin-tables.c
|
Plugin compiler tables. |
536 |
68 |
prelude-bits.c
|
Multiple precision BITS. |
97 |
69 |
prelude.c
|
Standard prelude definitions. |
2258 |
70 |
prelude-gsl.c
|
Standard prelude definitions from GSL. |
662 |
71 |
prelude-mathlib.c
|
Standard prelude definitions from GNU R math library. |
137 |
72 |
rts-bool.c
|
BOOL routines. |
56 |
73 |
rts-char.c
|
CHAR, STRING and BYTES routines. |
677 |
74 |
rts-curl.c
|
HTTP/HTTPS client. |
135 |
75 |
rts-curses.c
|
Curses interface. |
227 |
76 |
rts-enquiries.c
|
Environment enquiries. |
73 |
77 |
rts-formatted.c
|
Formatted transput. |
2582 |
78 |
rts-heap.c
|
Generator and garbage collector routines. |
782 |
79 |
rts-int128.c
|
128-bit INT support. |
282 |
80 |
rts-internal.c
|
Transput routines. |
360 |
81 |
rts-mach.c
|
Machine parameters. |
260 |
82 |
rts-monitor.c
|
GDB-style monitor for the interpreter. |
2289 |
83 |
rts-parallel.c
|
Parallel clause implementation. |
517 |
84 |
rts-plotutils.c
|
Gnuplot's libplot interface. |
1554 |
85 |
rts-postgresql.c
|
PostgreSQL libpq interface. |
815 |
86 |
rts-sounds.c
|
SOUND routines. |
603 |
87 |
rts-stowed.c
|
Interpreter routines for STOWED values. |
786 |
88 |
rts-transput.c
|
Transput routines. |
1648 |
89 |
rts-unformatted.c
|
Unformatted transput. |
2796 |
90 |
single-blas.c
|
REAL GSL BLAS support. |
60 |
91 |
single.c
|
INT, REAL, COMPLEX and BITS routines. |
1632 |
92 |
single-decomposition.c
|
REAL GSL LU, QR and Choleski decomposition. |
280 |
93 |
single-fft.c
|
REAL, COMPLEX GSL fast fourier transform. |
290 |
94 |
single-gamic.c
|
REAL generalised incomplete gamma function. |
414 |
95 |
single-gsl.c
|
REAL GSL routines. |
844 |
96 |
single-laplace.c
|
REAL GSL laplace routines. |
115 |
97 |
single-math.c
|
REAL math routines supplementing libc. |
780 |
98 |
single-multivariate.c
|
REAL multivariate regression. |
689 |
99 |
single-physics.c
|
REAL GSL physical constants. |
246 |
100 |
single-python.c
|
REAL vector and matrix routines, Python look-a-likes. |
314 |
101 |
single-r-math.c
|
REAL GNU R math routines. |
547 |
102 |
single-rnd.c
|
REAL pseudo-random number generator. |
194 |
103 |
single-svd.c
|
REAL GSL matrix SVD decomposition. |
106 |
104 |
single-torrix.c
|
REAL vector and matrix support. |
259 |
105 |
single-torrix-gsl.c
|
REAL GSL vector and matrix routines. |
1285 |
The number of source lines in this version is 78589.