Skip to content

Commit

Permalink
Add a newline at EOF [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed May 24, 2023
1 parent 4af669a commit 8f1dab6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/en/Overview-of-racc.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@ end
That simple bit of extra information allows your parser to handle `2 + 2` as well as it does `2+2`. The other problems are a little more involved. And with that, perhaps you can see now that even with a simple calculator, it takes some work to get it to do what you want in terms of a language. And yet all programming languages that you work with are ultimately constructed of grammar specified just in the way we have been doing it here.
I’ve learned a lot by trying to figure out how these tools work. One of my goals is to see if I can build an alternative to Gherkin, the language that is used by Cucumber to create what are called feature files. I think this will be a challenging exercise. Beyond that, I can see some good exercises here for constructing test grammars for test description languages. Playing around with concepts like these could, perhaps, lead to some interesting notions about how we communicate about tests.
I’ve learned a lot by trying to figure out how these tools work. One of my goals is to see if I can build an alternative to Gherkin, the language that is used by Cucumber to create what are called feature files. I think this will be a challenging exercise. Beyond that, I can see some good exercises here for constructing test grammars for test description languages. Playing around with concepts like these could, perhaps, lead to some interesting notions about how we communicate about tests.
2 changes: 1 addition & 1 deletion test/assets/error_recovery.y
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ end

---- footer

InfiniteLoop.new.parse
InfiniteLoop.new.parse
2 changes: 1 addition & 1 deletion test/assets/liquor.y
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,4 @@ rule
args << [ :kwarg, retag([ k, v ]), k, v ]
end
}
end
end

0 comments on commit 8f1dab6

Please sign in to comment.