Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat-fix: fix REPL parsing with inline scripts #657

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

bjthehun
Copy link
Contributor

Closes #618, i.e. REPL parsing of statements that have quotation marks

The first parsing step (split for statements) keeps quotation marks.
The second parsing steps (split for arguments) keeps quoted items, i.e. inline R scripts, together:

R> :slicer -c "2@x" -r "x <- 3 * 4\n y <- x * 2"
> x <- 3 * 4
x * 2
R> 

The first parsing step (split for statements) keeps quotation marks.
The second parsing steps (split for arguments) keeps quoted items, i.e. inline R scripts, together.
@EagleoutIce
Copy link
Member

Thank you very much!

@EagleoutIce EagleoutIce merged commit dd535c7 into flowr-analysis:main Feb 12, 2024
14 checks passed
@EagleoutIce
Copy link
Member

This pull request is included in v1.4.2 (see Release v1.4.2 (Dropping xmlparsedata, Benchmark Re-Runs, and Repl Fixes)).

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.

REPL parsing fails sometimes
2 participants