blaze / blaze/datashape

Allow strings with backslash characters

Open
#97 0 comments 0 reactions 0 assignees View on GitHub
easy enhancement
Dominant language
Python
Stars
189
Forks
62
PR merge metrics
No merged PRs in 30d

Description

The regex matching strings don't accept backslashes. Places to update this include:

Grammar specification:
https://github.com/ContinuumIO/datashape/blob/master/docs/source/grammar.rst#the-datashape-grammar

Lexer:
https://github.com/ContinuumIO/datashape/blob/master/datashape/lexer.py#L41

Tests

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the string grammar in docs/source/grammar.rst and the lexer rule around datashape/lexer.py:41. Check the existing string-matching tests, then add coverage for strings containing backslash characters. Done means the grammar, lexer, and tests consistently accept those strings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.