Sha256: bae504d9da88c8fa7ef61cf4f1111c99471bf2bf3353e49b393e60d911766c2d
Contents?: true
Size: 1.07 KB
Versions: 9
Compression:
Stored size: 1.07 KB
Contents
# frozen_string_literal: true require 'dry-struct' require 'i18n' I18n.load_path += Dir[File.expand_path("../../config/locales", __dir__) + "/**/*.yml"] I18n.default_locale = :nl I18n.config.enforce_available_locales = true require 'active_support/all' require 'tempfile' module Quby module Types include Dry.Types() end end require 'quby/compiler/markdown_parser' require 'quby/range_categories' require 'quby/compiler/type_validator' require 'quby/compiler/instance' require 'quby/compiler/entities' require 'quby/compiler/dsl' require 'quby/compiler/output' require 'quby/compiler/outputs' module Quby module Compiler def self.compile(key, sourcecode, path: nil, lookup_tables:, &block) Quby::Compiler::Instance.new(lookup_tables: lookup_tables).compile( key: key, sourcecode: sourcecode, path: path, &block ) end def self.validate(key, sourcecode, lookup_tables:) Quby::Compiler::Instance.new(lookup_tables: lookup_tables).validate( key: key, sourcecode: sourcecode, ) end end end
Version data entries
9 entries across 9 versions & 1 rubygems