Skip to content

Commit

Permalink
Merge 63d8089 into 189ee10
Browse files Browse the repository at this point in the history
  • Loading branch information
rvantonder committed Mar 18, 2021
2 parents 189ee10 + 63d8089 commit 076049c
Show file tree
Hide file tree
Showing 36 changed files with 878 additions and 128 deletions.
44 changes: 39 additions & 5 deletions lib/comby.ml
Original file line number Diff line number Diff line change
@@ -1,8 +1,42 @@
module Language = Language
module Matchers = Matchers
module Match = Match
type match' = Match.t

module Matchers = struct
module Matcher = Matchers.Matcher

module Configuration = Matchers.Configuration
type configuration = Configuration.t

module Syntax = Matchers.Syntax
type syntax = Matchers.Syntax.t
module Hole = Matchers.Hole

module Metasyntax = Matchers.Metasyntax
type metasyntax = Matchers.Metasyntax.t

module Alpha = Matchers.Alpha
module Omega = Matchers.Omega

module Languages = Matchers.Languages
end

module Rule = struct
open Language
type t = Rule.t
type result = Rule.result

let sat = Rule.Alpha.sat
let result_env = Rule.Alpha.result_env
let create = Rule.Alpha.create
let apply = Rule.Alpha.apply
end
type rule = Rule.t

module Replacement = Replacement
module Rewriter = Rewriter
module Server_types = Server_types
module Statistics = Statistics
module Configuration = Configuration

module Pipeline = struct
module Specification = Configuration.Specification
include Configuration.Command_input
include Pipeline
end

0 comments on commit 076049c

Please sign in to comment.