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

typo: s/grammer/grammar/g #153

Merged
merged 1 commit into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@

$ ruby calc

... Does it works?
For details of Racc, see HTML documents placed under 'doc.en/'
and sample grammer files under 'sample/'.
... Does it work?
For details of Racc, see HTML documents placed under 'rdoc/en/'
and sample grammar files under 'sample/'.


== License
Expand All @@ -74,8 +74,8 @@

== Bug Reports

Any kind of bug reports are welcome.
If you find a bug of Racc, please email me. Your grammer file,
Any kind of bug report is welcome.
If you find a bug of Racc, please email me. Your grammar file,
debug output genereted by "racc -g", are helpful.


Expand Down
2 changes: 1 addition & 1 deletion sample/array2.y
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
#
# Converting Array-like string into Ruby's Array, version 2.
# This grammer uses no_result_var.
# This grammar uses no_result_var.

class ArrayParser2
options no_result_var
Expand Down
4 changes: 2 additions & 2 deletions sample/conflict.y
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
#
# Example of conflicted grammer.
# This grammer contains 1 Shift/Reduce conflict and 1 Reduce/Reduce conflict.
# Example of conflicted grammar.
# This grammar contains 1 Shift/Reduce conflict and 1 Reduce/Reduce conflict.

class A
rule
Expand Down
2 changes: 1 addition & 1 deletion sample/lalr.y
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
# This is LALR grammer, and not LL/SLR.
# This is LALR grammar, and not LL/SLR.

class A
rule
Expand Down
2 changes: 1 addition & 1 deletion sample/syntax.y
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
# Racc syntax checker. This grammer file generates
# Racc syntax checker. This grammar file generates
# invalid ruby program, you cannot run this parser.

class P
Expand Down
2 changes: 1 addition & 1 deletion sample/yyerr.y
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
# Test grammer file for error handling.
# Test grammar file for error handling.

class A
rule
Expand Down