다음은 대화형 모드(interactive mode)에서 진법 변환(radix conversion)하는 Groovy 소스 코드이다. 메뉴는 주메뉴 Command: (S)et radix, (A)bout, (Q)uit or E(x)it 와 부메뉴 SubCommand: 'main()' to goto Main menu, 'exit()' or 'quit()' to exit 로 구성되어 있으며, 진법 변환의 핵심은 Integer 클래스와 Long 클래스의 정적 메소드 Integer.parseInt(String, int); Long.toString(long, int); 울 이용하였으며, 지원되는 진법은 2진법에서 36진법 까지이다. /* * Filename: convertRadix.groovy * Convert rad..