Sha256: 0dd9ceed52528e7ddd4d6af7a28724139bfffcdda3e194c591cdc2adc4311c96
Contents?: true
Size: 443 Bytes
Versions: 5
Compression:
Stored size: 443 Bytes
Contents
module Finitio module Syntax module System include Node capture :definitions, :main_type def compile(system) definitions.compile(system) main_type.compile(system) if main_type system end def to_ast ast = [ :system ] + definitions.to_ast ast << main_type.to_ast if main_type ast end end # module System end # module Syntax end # module Finitio
Version data entries
5 entries across 5 versions & 1 rubygems