Skip to content

Commit

Permalink
Updating: very very minorly
Browse files Browse the repository at this point in the history
  • Loading branch information
githwxi committed Sep 5, 2024
1 parent 7d261a6 commit 5884287
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
17 changes: 11 additions & 6 deletions prelude/TEST/CATS/JS/Makefile_jsemit
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ test00:: ; \
npx google-closure-compiler -W QUIET \
--compilation_level ADVANCED --js=$@_out.js --js_output_file=$@_out2.js
########################################################################
########################################################################
test01:: ; \
echo "//" `date` > $@_out.js
############
Expand All @@ -57,12 +58,14 @@ $(CAT) $(SRCGEN2_XSHARED)/xats2js_js1emit.js >> $@_out.js
test01:: ; \
$(CAT) $(SRCGEN2_XSHARED)/xats2js_prelude.js >> $@_out.js
############
test01:: ; \
$(CAT) $(XATSHOME)/prelude/DATS/CATS/JS/NODE/node000.cats >> $@_out.js
############
test01:: \
test01_a0rf000.dats; \
$(NODE) --stack-size=4096 $(SRCGEN2_XATS2JS) $< >> $@_out.js
############
test01:: ; \
npx google-closure-compiler -W QUIET \
--compilation_level ADVANCED --js=$@_out.js --js_output_file=$@_out2.js
########################################################################
########################################################################
test02:: ; \
echo "//" `date` > $@_out.js
Expand All @@ -72,12 +75,14 @@ $(CAT) $(SRCGEN2_XSHARED)/xats2js_js1emit.js >> $@_out.js
test02:: ; \
$(CAT) $(SRCGEN2_XSHARED)/xats2js_prelude.js >> $@_out.js
############
test02:: ; \
$(CAT) $(XATSHOME)/prelude/DATS/CATS/JS/NODE/node000.cats >> $@_out.js
############
test02:: \
test02_a1rf000.dats; \
$(NODE) --stack-size=4096 $(SRCGEN2_XATS2JS) $< >> $@_out.js
############
test02:: ; \
npx google-closure-compiler -W QUIET \
--compilation_level ADVANCED --js=$@_out.js --js_output_file=$@_out2.js
########################################################################
########################################################################
test03:: ; \
echo "//" `date` > $@_out.js
Expand Down
2 changes: 2 additions & 0 deletions prelude/TEST/CATS/JS/test00_prelude.dats
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ prints
//
(* ****** ****** *)
(* ****** ****** *)
//
val () = the_print_store_log( (*void*) )
//
(* ****** ****** *)
(* ****** ****** *)
//
Expand Down
7 changes: 7 additions & 0 deletions prelude/TEST/CATS/JS/test01_a0rf000.dats
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ For testing prelude/JS!
"srcgen2\
/prelude/HATS/prelude_JS_dats.hats"
(* ****** ****** *)
(*
#include
"srcgen2\
/prelude/HATS/prelude_NODE_dats.hats"
*)
(* ****** ****** *)
(* ****** ****** *)
//
Expand All @@ -45,6 +47,11 @@ prints("A0(", type(A0), ") = ", A0, "\n")
(* ****** ****** *)
(* ****** ****** *)
//
val () = console_log(the_print_store_flush())
//
(* ****** ****** *)
(* ****** ****** *)
//
(* ****** ****** *)(* ****** ****** *)(* ****** ****** *)
(* ****** ****** *)(* ****** ****** *)(* ****** ****** *)

Expand Down
7 changes: 7 additions & 0 deletions prelude/TEST/CATS/JS/test02_a1rf000.dats
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ For testing prelude/JS!
"srcgen2\
/prelude/HATS/prelude_JS_dats.hats"
(* ****** ****** *)
(*
#include
"srcgen2\
/prelude/HATS/prelude_NODE_dats.hats"
*)
(* ****** ****** *)
(* ****** ****** *)
//
Expand Down Expand Up @@ -72,6 +74,11 @@ prints("fact(10) = ", fact(10), "\n")
(* ****** ****** *)
(* ****** ****** *)
//
val () = console_log(the_print_store_flush())
//
(* ****** ****** *)
(* ****** ****** *)
//
(* ****** ****** *)(* ****** ****** *)(* ****** ****** *)
(* ****** ****** *)(* ****** ****** *)(* ****** ****** *)

Expand Down

0 comments on commit 5884287

Please sign in to comment.