Simulated automatic control of appliances in a smart building using Java, and extended control grammar using ANTLR tools. ( ANTLR-Tools plugin and with appropriate .JAR External Reference Library (ANTLR 3.5.1) required along with the Eclipse IDE)