casl - Simple implementation of CASL assembler/COMET simulator in Perl

Version 1.2 / October 24, 2000

What is casl?

casl is simple implementation of CASL assembler and COMET simulator written in Perl. The CASL assembler and the COMET simulator are designed for users to study principle operations of computers. In particular, CASL and COMET are used in a qualifying examination called as Japan Information-Technology Engineers Examination so that these programs would be of value for people who would like to acquire this qualification.

Since both the CASL assembler and the COMET simulator are written only in Perl version 5, these should work on almost all operating system including UNIX flavors, MS-DOS, Windows, and Macintosh.

casl includes the following programs:

casl - A simple implementation of CASL assembler in Perl
comet - A simple implementation of COMET simulator in Perl


The latest version of casl can be found at the following location.


Copyright (C) 1998-2000 Hiroyuki Ohsaki (ohsaki[atmark]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

System Requirements

To use this program, you only need:

- Perl version 5.002 or later

The latest version of Perl can be obtained from various GNU archives around the world (e.g., from

Unfortunately, casl does not work with Perl version 4 since it uses various features appeared in version 5 such as object-oriented programming feature. casl uses several Perl libraries (e.g., Getopt/ and File/, which come with the Perl distribution and are installed by default. Make sure Perl in you system is installed correctly. Typically, these libraries reside in /usr/lib/perl5.


casl uses standard Perl's MakeMaker module. Thus, just type the following commands.

  perl Makefile.PL
  make install


If you find any bugs, first check if a newer version exists. If not, please mail bug report or fixing patch to me. I appreciate your comments and/or suggestions.


casl(1), comet(1)


Hiroyuki Ohsaki (ohsaki[atmark]