feat(parser): add compiler-aware parsing for v0.2.0 - #5
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PasWeave v0.2.0: compiler-aware parsing
Suggested PR title:
Summary
This PR completes the active
v0.2.0roadmap milestone. PasWeave can nowparse the same conditional interface as a configured Free Pascal build instead
of silently relying on the documentation host's defaults.
No
v0.3.0or later roadmap work is included.What changed
--unit-path,--include-path, and--defineoptions.--target-osand--target-cpuoptions.settings.
configured paths, with first-match search-path ordering.
fcl-passrctypes behind the parser adapter and out of the publicmodel.
unreadable includes.
nested and missing includes, competing search paths, and transitive units.
changelog, version metadata, and release notes.
Compatibility
and parser arguments.
byte-for-byte by SHA-256 when no new settings were supplied.
///documentation flowremain supported end to end.
Validation
mathlib-fpaudit parses all 45 units into 2,338 symbols withzero warnings or errors.
mathlib-fpoutput files match the unconfiguredbaseline byte-for-byte.
0.2.0.Known limits
.lpiand.lpkfiles are not interpreted in this release; theircompiler values must be supplied manually.
.pasand.pp), not compiled.ppufiles.claim that every possible pair is an FPC-supported backend combination.
Release checklist
PasWeaveVersion, its regression assertion, and README version badgeare set to
0.2.0.CHANGELOG.mdcontains the0.2.0entry.RELEASE_NOTE_v0.2.0.mdis ready for the GitHub release description.main.mainpasses.v0.2.0and push the tag.pasweave.exeandpasweave.exe.sha256to the GitHub release.