Hi, I invented a new language called SML. Its a domain specific language for statemachines.
Here is an example:
statechart "kitchensink" {
	
	interface :
	in event myEvent
		in event myEventWithPayload : integer
		var variable : integer
		var variable2 : boolean = false
		const myConst : string = "ConstantValue"
		const myConst2 : integer = 3
	
	interface InterfaceWithName :
		in event event1
		out event event2
	
	internal :
		operation myOp1 () : void
		operation myOp2 (param1 : integer) : boolean
		
	every 2 s / variable = variable + 1
	
	region "main region" {
		initial {
			transitions {
				to StateA
			}
		}
		state "StateA" {
			entry / myOp1() transitions {
				on myEvent to StateB
			}
		}
		state "StateB" {
			exit / variable2  = myOp2(4)
			transitions {
				on myEvent [variable2 == true] to StateA then variable++
			}
			region "" {
				initial {
					transitions {
						to State1
					}
				}
				state "State1" {
					transitions {
						on after 1 s to State2
					}
				}
				state "State2" {
					transitions {
						on after myConst2 s to State1
						on InterfaceWithName . event1 to _choice_0
					}
				}
				choice {
					transitions {
						on [myConst == "Hello"] to State3
					}
					transitions {
					to State4
					}
				}
				state "State3" {
				}
				state "State4" {
					transitions {
					to _sync0
					}
				}
			}
			region "" {
				deepHistory {
					transitions {
						to State1
					}
				}
				state "State1" {
					every 2 s / variable = variable * 3
					region "" {
						shallowHistory {
							transitions {
								to State1
							}
						}
						state "State1" {
							transitions {
								to _sync0
							}
						}
					}
				}
			}
		}
		final {
		}
		sync {
			transitions {
			to _final_
			}
		}
	}
}
Please create an SML example of a CD player in  the SML language. Add stress words that are fully capitlized. Make sure these stress words appear more than 8 times.
user