markcornwell / markcornwell/pilar

Print representation of unprintable characters

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Assembly
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Printable characters have a well understood representation, #\a #! #\F. A few non-printable characters have a clear representation as well: #\newline, #\space, #\return, #\tab. But numerous other unprintable characters are a puzzle. Many of these are commented out in the tests-1.2-req.scm files. See that file for examples. Need to figure out what strategy to adopt for the printable forms, document a rationale, and implement the changes. Seems clear that the character escape should consist of all printable characters. One option is to follow the printable ascii names of the characters. I believe there is a standard 3 letter abbreviation for each.

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 with the commented-out character examples in the tests-1.2-req.scm files. Determine and document a strategy for representing unprintable characters, then implement the chosen escape forms and update the tests to cover them.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.