Skip to content

Conversation

@6cdh
Copy link
Collaborator

@6cdh 6cdh commented Jan 25, 2026

This PR solves #168

This is an incomplete draft now.

6cdh added 5 commits January 23, 2026 12:14
Updated the summary comments in `doc.rkt` and `safedoc.rkt` to better reflect their respective roles.
- Remove expand.rkt and consolidate expansion logic into check-syntax.rkt.
- Refactor check-syntax.rkt to return CSResult instead of sending diagnostics directly.
- Move diagnostic generation logic (error handling, Typed Racket log processing) from check-syntax.rkt to service/diagnostic.rkt.
- Extend service/interface.rkt and base-service% with walk-log and walk-text methods.
- Update safedoc.rkt to manage the new check-syntax workflow and push tasks to the scheduler.
- Clean up doc.rkt by exposing doc-expand, doc-expand!, and doc-walk-text.
@@ -0,0 +1,211 @@
#lang racket

(require rackunit
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

require rackunit at top-level will require info.rkt to treat rackunit-lib as deps (instead of build-deps), should we separate the project to multi-package?

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.

2 participants