-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve parsing algorithm to handle spaces and comments #63
Milestone
Comments
xonixx
added a commit
that referenced
this issue
Oct 5, 2021
xonixx
added a commit
that referenced
this issue
Oct 10, 2021
xonixx
added a commit
that referenced
this issue
Oct 10, 2021
xonixx
added a commit
that referenced
this issue
Oct 10, 2021
xonixx
added a commit
that referenced
this issue
Oct 14, 2021
xonixx
added a commit
that referenced
this issue
Oct 14, 2021
xonixx
added a commit
that referenced
this issue
Oct 14, 2021
xonixx
added a commit
that referenced
this issue
Oct 14, 2021
xonixx
added a commit
that referenced
this issue
Oct 14, 2021
xonixx
added a commit
that referenced
this issue
Oct 14, 2021
xonixx
added a commit
that referenced
this issue
Oct 14, 2021
xonixx
added a commit
that referenced
this issue
Oct 15, 2021
xonixx
added a commit
that referenced
this issue
Oct 15, 2021
xonixx
added a commit
that referenced
this issue
Oct 15, 2021
xonixx
added a commit
that referenced
this issue
Oct 15, 2021
xonixx
added a commit
that referenced
this issue
Oct 15, 2021
xonixx
added a commit
that referenced
this issue
Oct 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Things to take into account
@directive
lines and spaces in goal names'str' or "str"
Makesurefile
in IDE keeps working../makesure -l
and use it to call./makesure 'goal name'
'all' "types" of $'strings'
will be too complex.'\''
properly and consistently.@doc
and@define
Comments
This one won't parse as expected.
# comment
will be treated as part of goal nameSpaces
Right now we rely on default AWK algorithm at parsing a line (
NF
+$i
). This is totally fine for current version since covers most of cases, but we need something more flexible.Possible approach
./makesure -l
Rationale
'str'
and$'str'
'str'
can be used, rarely$'str\'str'
"str\"\'str"
./makesure "aaa$bbb"
will not work as expected.The text was updated successfully, but these errors were encountered: