3 # This file is part of Language::Befunge.
4 # Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the same terms as Perl itself.
14 use FindBin
qw{ $Bin };
15 use lib
"$Bin/../lib";
17 use Language
::Befunge
;
18 use Language
::Befunge
::Debug
;
22 Getopt
::Long
::Configure
('no_auto_abbrev', 'bundling', 'ignore_case', 'no_pass_through');
23 GetOptions
( \
%opts, "verbose|v") or die;
24 my $bef = Language
::Befunge
->new( {file
=>shift} );
25 Language
::Befunge
::Debug
::enable
() if $opts{verbose
};
26 exit $bef->run_code( @ARGV );
32 jqbef98 - a Befunge-98 interpreter
38 jqbef98 [-v] program.bef
44 This is a full featured Concurrent Befunge-98 interpreter.
45 Just provide the name of the Befunge script, and there you go!
57 Jerome Quelin, E<lt>jquelin@cpan.orgE<gt>
61 =head1 COPYRIGHT & LICENSE
63 Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.
65 This program is free software; you can redistribute it and/or modify
66 it under the same terms as Perl itself.