2
26. 4. 2010.
Metaprogramming approaches to finite state machine modeling for SIP applications
This paper presents a methodology to develop a complete domain specific language (DSL) for simple finite state machine (FSM) modeling, utilizing metaprogramming techniques found in Ruby programming language. Additionally, two libraries for FSM modeling are reviewed. A simple vending machine model is used to demonstrate the effectiveness of the DSL code. The proposed techniques together with the SIP Servlet API can be combined with Ruby's web development environments to develop complex converged telecom applications.