#!/bin/sh
#
# Compile and Execute Static C Code Generator with Model-Aware target platform"
# H. Conrad Cunningham
# Created: 2018-01-31, revised 2018-02-14
#
echo  "Begin compile Static C Code Generator with Model-Aware target platform"
echo  "Compile Mock Command Channel class"
scalac CommandChannel.scala
#
echo  "Compile State Machine Semantic Model class"
scalac StateMachine.scala
#
echo  "Compile Embedment Helper trait"
scalac IncrementalStateMachineBuilder.scala
#
echo  "Compile Custom External DSL with Static C Code Generator with Model-Aware target platform"
scalac StaticC_GeneratorTest.scala
#
# echo  ""
# echo "Input file CustomExternalStateMachineDSL2.dsl"
# cat   CustomExternalStateMachineDSL2.dsl
#
# echo  ""
echo  "Execute Custom External DSL with Static C Code Generator"
scala StaticC_GeneratorTest
#
echo "Done!"

