racket / racket/htdp

XML boxes have not provided user-facing error messages for BSL

Open Beginner friendly
#265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Racket
Stars
112
Forks
73
Avg merge
9h 41m
Merged PRs (30d)
1

Description

XML boxes assume quasiquote, which is unavailable in BSL. However, they err with "quasiquote unbound" instead of something like "not supported in BSL."

This is in spirit the same as racket/drracket#722 and racket/htdp@aa2ad718. But, since this issue is discovered by testing and not reported in practice, I'm labeling it as a low-priority feature request.

Relevant bits:
https://github.com/racket/htdp/blob/fd06ec8b64e0faf08d00bb156440fd0583965676/htdp-lib/stepper/private/xml-snip-helpers.rkt#L62
and
https://github.com/racket/htdp/blob/fd06ec8b64e0faf08d00bb156440fd0583965676/htdp-lib/stepper/private/xml-snip-helpers.rkt#L114-L136

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in htdp-lib/stepper/private/xml-snip-helpers.rkt, especially the code at the referenced lines 62 and 114-136, and trace how XML boxes are handled under BSL. Reproduce the current BSL XML-box failure and make the completed behavior report that XML boxes are not supported in BSL instead of exposing an unbound quasiquote error.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.