--[[ Test Driver for Global Function Sequence DSL (Test08) Lair Configuration DSL Case Study H. Conrad Cunningham, Professor Computer and Information Science University of Mississippi See the comments in the Global Function Sequence builder (builder08) and the Semantic Model modules. Developed for CSci 658, Software Language Engineering, Fall 2013 1234567890123456789012345678901234567890123456789012345678901234567890 2013-10-15: Adapted from Fowler's lairs/rules8.rb --]] -- Load the builder definitions (globals) local builder = require "builder08" -- File rules08.lua usedconfiguration() and end_configuration() local config = execute_dsl("rules08.lua") print("Test with explicit configuration call: " .. config:toString()) -- File rules08a.lua does not use configuration() and -- end_configuration() local config = execute_dsl("rules08a.lua") print("Test without explicit configuration call: " .. config:toString())