lib/sequitur/dynamic_grammar.rb in sequitur-0.1.13 vs lib/sequitur/dynamic_grammar.rb in sequitur-0.1.14
- old
+ new
@@ -1,10 +1,9 @@
require_relative 'production'
require_relative 'grammar_visitor'
module Sequitur # Module for classes implementing the Sequitur algorithm
-
# A dynamic grammar is a context-free grammar that can be built incrementally.
# Formally, a grammar has:
# One start production
# Zero or more other productions
# Each production has a rhs that is a sequence of grammar symbols.
@@ -98,9 +97,7 @@
# @param aSymbol [Object]
def append_symbol_to(aProduction, aSymbol)
aProduction.append_symbol(aSymbol)
end
end # class
-
end # module
-
# End of file