Skip to content

feat(compiler): expose source locations in IR dumps - #101

Merged
tetsuo-cpp merged 1 commit into
canonfrom
issue-74-source-locations
Aug 19, 2026
Merged

feat(compiler): expose source locations in IR dumps#101
tetsuo-cpp merged 1 commit into
canonfrom
issue-74-source-locations

Conversation

@tetsuo-cpp

Copy link
Copy Markdown
Owner

Summary

  • register WarpForth passes and MLIR assembly-printer options in warpforthc
  • verify Forth source locations survive translation and MemRef lowering
  • verify lowering diagnostics report Forth file, line, and column locations

Testing

  • cmake --build build --target check-warpforth (116 passed)
  • cmake --build build --target check-clang-tidy
  • clang-format-20 --dry-run --Werror tools/warpforthc/warpforthc.cpp

Closes #74

@tetsuo-cpp
tetsuo-cpp merged commit d1fac9d into canon Aug 19, 2026
1 check passed
@tetsuo-cpp
tetsuo-cpp deleted the issue-74-source-locations branch August 19, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Source-location tracking and diagnostics through the pipeline

1 participant