diff --git a/README.rdoc b/README.rdoc index 25fbb0ab..53be327d 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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 @@ -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. diff --git a/sample/array2.y b/sample/array2.y index 290c4d4b..3fd603f3 100644 --- a/sample/array2.y +++ b/sample/array2.y @@ -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 diff --git a/sample/conflict.y b/sample/conflict.y index c4b534df..26981a76 100644 --- a/sample/conflict.y +++ b/sample/conflict.y @@ -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 diff --git a/sample/lalr.y b/sample/lalr.y index 17753f9e..c646e15d 100644 --- a/sample/lalr.y +++ b/sample/lalr.y @@ -1,6 +1,6 @@ # # -# This is LALR grammer, and not LL/SLR. +# This is LALR grammar, and not LL/SLR. class A rule diff --git a/sample/syntax.y b/sample/syntax.y index b9af4aa2..dd4c6699 100644 --- a/sample/syntax.y +++ b/sample/syntax.y @@ -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 diff --git a/sample/yyerr.y b/sample/yyerr.y index 10307d1e..6fa2faa9 100644 --- a/sample/yyerr.y +++ b/sample/yyerr.y @@ -1,6 +1,6 @@ # # -# Test grammer file for error handling. +# Test grammar file for error handling. class A rule