Skip to content

Parse required Technique version from magic header line - #146

Merged
istathar merged 1 commit into
technique-lang:mainfrom
istathar:version-magic
Aug 2, 2026
Merged

Parse required Technique version from magic header line#146
istathar merged 1 commit into
technique-lang:mainfrom
istathar:version-magic

Conversation

@istathar

@istathar istathar commented Aug 2, 2026

Copy link
Copy Markdown
Member

Parse a semantic version from the magic line of the Technique document headers.

A document can now declare

% technique v1.3

to say that this document expects at least compiler version 1.3, and so crates 1.3.0, 1.3.1, 1.4 up to <= 2.0 are all expected to be able to read this document, but an older 0.7 or 1.2 compiler should not due to a semantic meaning or language syntax change.

By exception, the tooling is still in the 0.x era, so a version string of exactly v1 will be accepted while we continue development.

@istathar istathar self-assigned this Aug 2, 2026
@istathar

istathar commented Aug 2, 2026

Copy link
Copy Markdown
Member Author

@istathar
istathar merged commit b839463 into technique-lang:main Aug 2, 2026
1 check passed
@istathar
istathar deleted the version-magic branch August 2, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant