#!/bin/sh
#
# Compile and Execute Delimiter DSL
#   Custom External DSL with Delimiter-Directed parser
# H. Conrad Cunningham
# Created: 2018-01-31
#
echo  "Begin Custom External DSL with Delimiter-Directed parser"
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 Delimiter-Directed parser, plus testing main"
scalac DelimiterDSLTest.scala
#
# echo  ""
# echo "Input file CustomExternalStateMachineDSL.dsl"
# cat   CustomExternalStateMachineDSL.dsl
#
# echo  ""
echo  "Execute Custom External DSL with Delimiter-Directed parser"
scala DelimiterDSLTest
#
echo "Done!"
