Blame


1 780a0fdd 2021-11-07 op # a68-mode -- Algol68 major mode
2 7f103319 2021-11-06 op
3 d368846b 2021-11-07 op This is an improved and modernised version of the Algol68 mode by Jose
4 780a0fdd 2021-11-07 op E. Marchesi. It fully supports automatic indentation and font locking
5 6c694b41 2021-11-08 op (i.e. syntax highlighting) including the three comment styles.
6 780a0fdd 2021-11-07 op
7 6c694b41 2021-11-08 op a68-mode supports only the UPPER stropping style and not the QUOTE or
8 9c9e2984 2021-11-07 op POINT style. Patch for those are welcome. At least in theory, it
9 9c9e2984 2021-11-07 op could be possible with a clever usage of text properties and/or
10 9c9e2984 2021-11-07 op overlays to implement the **strict** language and use a bold typeface
11 9c9e2984 2021-11-07 op for the "reserved words".
12 780a0fdd 2021-11-07 op
13 9c9e2984 2021-11-07 op
14 780a0fdd 2021-11-07 op ### Manual installation
15 780a0fdd 2021-11-07 op
16 780a0fdd 2021-11-07 op Just put `a68-mode.el` somewhere in your `load-path` and require it.
17 6c694b41 2021-11-08 op Or visit the file with Emacs and `M-x package-install-file RET`.
18 780a0fdd 2021-11-07 op
19 780a0fdd 2021-11-07 op
20 780a0fdd 2021-11-07 op ### Customization
21 780a0fdd 2021-11-07 op
22 6c694b41 2021-11-08 op The following variables are available for customization:
23 780a0fdd 2021-11-07 op
24 780a0fdd 2021-11-07 op * `a68-indent-level` (default 3): indentation offset
25 780a0fdd 2021-11-07 op * `a68-comment-style` (default `"#"`): the default comment style used
26 780a0fdd 2021-11-07 op by e.g. `comment-dwim`.
27 6c694b41 2021-11-08 op
28 6c694b41 2021-11-08 op see `M-x customize-group a68 RET` for more info.
29 6d11dfc4 2021-11-19 op
30 6d11dfc4 2021-11-19 op
31 6d11dfc4 2021-11-19 op ### Known issues
32 6d11dfc4 2021-11-19 op
33 6d11dfc4 2021-11-19 op It doesn't handle well shebangs: `#!` is taken as the start of the
34 6d11dfc4 2021-11-19 op comment up to the next `#`.