(define-class Hello flash.display.Sprite
((init) (let [(t (new flash.text.TextField))]
- (invoke t appendText "http://happy-abc.org")
+ (invoke t appendText "Hello,world!!")
(invoke this addChild t))))
-42
\ No newline at end of file
let generate program =
let m =
- generate_method @@ Closuretrans.trans program in
+ generate_method program in
let {Asm.abc_cpool=cpool;
method_info=info;
method_body=body;
#
# Various options
#
-OCAMLCFLAGS += -thread aosh.cma
+OCAMLFLAGS += -thread
OCAMLPPFLAGS += -pp "camlp4o ../camlp4/TestCaseCollector.cmo"
OCAMLDEPFLAGS += $(OCAMLPPFLAGS)
(* CAUTION: this is a generated file. If you edit it, all changes will be lost! *)
# 1 "runner.mlp"
# 1 "<built-in>"
-# 1 "<command-line>"
-# 1 "./runner.h" 1
-
-
-
-
-
-
-
-
+# 1 "<command line>"
-
-
-
-
-
-# 1 "<command-line>" 2
+# 1 "./runner.h" 1
+# 2 "<command line>" 2
# 1 "runner.mlp"
+
# 1 "runner.h" 1
open Test_abc
open Test_asm
# 2 "runner.mlp" 2
let _ =
- Testtbl.run_test ()
+ Testtbl.run_test ()
+