Added X86 codegeneration interface and tests

This commit is contained in:
Dmitry Boulytchev 2018-03-07 10:18:30 +03:00
parent 77ec064c5c
commit de018e76aa
12 changed files with 320 additions and 34 deletions

View file

@ -2,8 +2,8 @@ TOPFILE = rc
OCAMLC = ocamlc
OCAMLOPT = ocamlopt
OCAMLDEP = ocamldep
SOURCES = Language.ml SM.ml Driver.ml
LIBS = GT.cma unix.cma re.cma emacs/re_emacs.cma str/re_str.cma
SOURCES = Language.ml SM.ml X86.ml Driver.ml
LIBS = GT.cma unix.cma re.cma re_emacs.cma re_str.cma
CAMLP5 = -pp "camlp5o -I `ocamlfind -query GT.syntax` -I `ocamlfind -query ostap.syntax` pa_ostap.cmo pa_gt.cmo -L `ocamlfind -query GT.syntax`"
PXFLAGS = $(CAMLP5)
BFLAGS = -rectypes -I `ocamlfind -query GT` -I `ocamlfind -query re` -I `ocamlfind -query ostap`