Files
postscript-compiler/use.ml
T
2023-02-24 15:18:30 +01:00

26 lines
390 B
OCaml

#load "lang.cmo";;
#load "parser.cmo" ;;
#load "lexer.cmo" ;;
#load "typing.cmo";;
#load "instrs.cmo";;
#load "gen.cmo";;
#load "interf.cmo";;
open Interf;;
open Lang;;
open Instrs;;
(* For using the parser:
- Evaluate this file (use.ml)
- parse "Tests/rectangles.c" ;;
* For code generation:
- Evaluate this file (use.ml)
- run_test "Tests/rectangles.c" "Tests/rectangles.ps";;
*)