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

stdlib_experimental_io: addition of a parser and characters "+" and "s/b" (for stream) #1

Merged
merged 2 commits into from
Jan 4, 2020

Conversation

jvdp1
Copy link

@jvdp1 jvdp1 commented Jan 4, 2020

My idea is based on the fact that the mode can be only 3 characters:

  • first character: r/w/a/x
    -second character: blank or "+"
    -third character: t/b/s(?)/u(?_

The function parse_mode should return a mode corresponding to these 3 possibilities.

It also avoids many if statements as implemented previously.

@certik certik merged commit 576b4f7 into certik:open Jan 4, 2020
certik pushed a commit that referenced this pull request May 3, 2022
Proposition to generate code for integer, real and string from one single peace of code
certik pushed a commit that referenced this pull request May 3, 2022
certik pushed a commit that referenced this pull request May 3, 2022
Expand unit testing for more cases
certik pushed a commit that referenced this pull request May 3, 2022
Minor adjustments to deployment script
certik pushed a commit that referenced this pull request May 3, 2022
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.

2 participants