Sha256: efc233ed0757a152c65abe21a50cda9e9e04c0f9490a6e14357c62b89974ab47
Contents?: true
Size: 352 Bytes
Versions: 7
Compression:
Stored size: 352 Bytes
Contents
module Stamina class RegLang module Question include Node def to_fa!(fa) f1, t1 = fa.add_n_states(2) f2, t2 = self.term.to_fa!(fa) fa.connect(f1,f2,nil) fa.connect(t2,t1,nil) fa.connect(f1,t1,nil) [f1, t1] end end # module Question end # class RegLang end # module Stamina
Version data entries
7 entries across 7 versions & 1 rubygems