examples/general/calc_iter2/calc_grammar.rb in rley-0.7.03 vs examples/general/calc_iter2/calc_grammar.rb in rley-0.7.04
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
# Grammar for simple arithmetical expressions
require 'rley' # Load the gem
########################################
# Define a grammar for basic arithmetical expressions