Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 1495 Bytes
1 | Lexical analysis is (at least in part) the process of converting a body of text into _tokens_. It is also the process of identifying the _class_ of each token. The Syntax library refers to these classes as _groups_. |
2 | |
3 | Each syntax module may define its own groups. The Ruby module, for instance, defines 18 different groups: |
4 | |
5 | # normal: whitespace and the like. Basically, any text not grouped in any of the other groups. |
6 | # comment: the delimiters and contents of a comment |
7 | # keyword: any recognized keyword of the Ruby language |
8 | # method: the name of a method when it is being declared |
9 | # class: the name of a class when it is being declared |
10 | # module: the name of a module when it is being declared |
11 | # punct: any punctuation character |
12 | # symbol: a Ruby symbol token |
13 | # string: the contents (but not delimiters) of a string |
14 | # char: a character literal (@?g@) |
15 | # ident: an identifier, not otherwise recognized as a keyword |
16 | # constant: a constant (beginning with an uppercase letter) |
17 | # regex: the contents (but not delimiters) of a regular expression |
18 | # number: a numeric literal |
19 | # attribute: an instance variable |
20 | # global: a global variable |
21 | # expr: a nested (interpolated) expression within a string or regex |
22 | # escape: an escape squence within a string or regex |
23 | |
24 | The only group common to all modules is @normal@. (When converting text to HTML, the name of the class used in a span will be the name of the corresponding group--this makes it straightforward to determine what CSS classes need to be defined.) |