Bahasa Pemrograman Untuk Mendefinisikan Rule Bagi Generator Soal Matematika High Level Programming Language for Rule Defintion for Math Problem Generator Moh. Sofyan S. Thayf 1 , Retantyo Wardoyo 2 Program Studi Ilmu Komputer Program Pascasarjana Universitas Gadjah Mada ABSTRACT The research aim to develop a high level programming language for mathematics rule definition that will be use in mathematical problem generator that generate mathematical problem collections in easier and efficient way. The compiler and problem generator program also developed to evaluate the programming language. The programming language are created by a grammar definition according to an approach to mathematics multiple choice problem creation circumstances, and limited to arithmetic problems only. The compiler are built by using Java Compilers Compiler (JavaCC) tools that generates lexical analyzer and syntax analyzer based on defined grammar and some defined semantic rules in Java classes. As the result, the compiler and the problem generator successfully generate thousands of mathematical problems using the rules that written in the new programming language, less than 10 seconds. Keywords: programming language, compiler, problem generator, mathematics 1 Pengajar pada STMIK KHARISMA Makassar 2 Pengajar pada Program Magister dan Doktor Ilmu Komputer FMIPA Universitas Gadjah Mada, Yogyakarta