Feature Identifiers
Feature identifiers are used by the @features
meta-value (see Meta Values and Commands) to specify which features are enabled in a document. They can also be used programmatically to customize a parser, for example, to enable or disable specific features.
Feature Groups
Feature groups allow you to specify a predefined set of features in a compact way. Refer to Parser Tiers for more details about the different parser tiers.
Identifier |
Tier |
Description |
---|---|---|
core |
— |
Core Language: All core language features. |
minimum |
M |
Minimum Features: Includes the minimum required features: float, byte-count. |
standard |
S |
Standard Features: Includes all minimum and standard features: float, byte-count, multi-line, section-list, value-list, text-names, date-time, code, byte-data, include. |
advanced |
A |
Advanced Features: Includes all minimum, standard, and advanced features: float, byte-count, multi-line, section-list, value-list, text-names, date-time, code, byte-data, include, regex, time-delta. |
all |
— |
All Features: Includes all features supported by the current language version. |
Individual Language Features
The table below lists the individual language features along with their corresponding tier:
Identifier |
Tier |
Description |
---|---|---|
float |
M |
Floating-Point Numbers: Support for floating point numbers. |
byte-count |
M |
Byte Counts: Support for byte count suffixes in decimal integers. |
multi-line |
S |
Multi-line Values: Support for multi-line values. |
section-list |
S |
Section Lists: Support for section lists. |
value-list |
S |
Value Lists: Support for value lists. |
text-names |
S |
Text Names: Support for text names. |
date-time |
S |
Date-Time Values: Support for date, time, and date-time values. |
code |
S |
Code Values: Support for code text values. |
byte-data |
S |
Byte-Data Values: Support for hexadecimal-formatted byte-data. |
include |
S |
Include Commands: Support for the include meta command. |
regex |
A |
Regular Expression Values: Support for regular expressions. |
time-delta |
A |
Time-Delta Values: Support for time-delta values. |
Parser Features
Parser features are not meant to be specified in a @features
meta value. They exist to describe advanced capabilities of a parser.
Identifier |
Description |
---|---|
validation |
Validation Rules Support: Provides support for validation rules. |
signature |
Signature Support: Provides support for document signatures. |
Available Data
The data
directory contains the file features.json
, which defines all error categories in a machine-readable format.