Skip to content

Concept rules in ***plain

Latest

Choose a tag to compare

@tjazerzen tjazerzen released this 27 Nov 09:02
· 2 commits to main since this release
3ff50fb

⚠️ Breaking Change

This update is not backward compatible.

Concept Rules in ***plain

To improve the consistency and clarity of specifications used for code generation, we introduce concept-based definitions with strict formatting rules.

Each definition introduces a single concept, written as:

- :ConceptName: <explanation of the concept>

Concept naming rules

Each concept name must be enclosed in colons (:) at both the beginning and end.

Valid characters for concept name include: Plus sign (+), Minus sign (-), Dot sign (.), Digits (0-9), Uppercase letters (A-Z), Underscore (_), Lowercase letters (a-z).

Examples: :App:, :Tasks:, :ListOfUsers:, :CLI:.

Definition rules

  • Each definition must start with the concept name being defined.
  • Every concept name must be globally unique.
  • Concepts referenced in Functional Requirements, Non-Functional Requirements, Test Requirements, or Acceptance Tests must appear in the Definitions section first.