Skip to content

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