native eol style

Open
#844 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
backend

Research direction

Start by reading the transcoder documentation and the implementation of native end-of-line handling; the issue does not identify specific files or tests. Check how the default transcoder and call-with-input-file behave on Windows, then compare that with the expected portable behavior. Done means native EOL files can be read correctly through the default transcoder and relevant file-reading functions.

Written by the indexing model from the issue text.

Description

> (native-eol-style)
none

This is fine if one only wants to read nl-style files. But it makes the default transcoder useless on windows as it makes any code using the default transcoder not able to read correctly native files.

And since there are functions like call-with-input-file which do not take a transcoder argument, it is impossible to use these functions to read native eol-style files on windows (I know that one can work around this by using Chez specific current-transcoder parameter, but let's suppose one wants to write portable code as much as reasonably possible.)

I'd call this a bug, but maybe there's a rationale for this behavior?

Dominant language
Scheme
Stars
7.4k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
19

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from cisco/ChezScheme

All issues in cisco/ChezScheme

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.