Created
July 23, 2015 18:21
-
-
Save rns/a877e2942376569154c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assert(2^-2 == 1/4 and -2^- -2 == - - -4); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use File::Spec; | |
use File::Temp; | |
use Test::More; | |
BEGIN {use_ok('MarpaX::Languages::Lua::Parser'); } | |
my($lua_sources_dir) = 'lua.sources'; | |
$lua_sources_dir = qq{../$lua_sources_dir} unless $ENV{HARNESS_ACTIVE}; | |
my($parser) = MarpaX::Languages::Lua::Parser -> new | |
( | |
input_file_name => "$lua_sources_dir/exp_negative_power.lua", | |
logger => '', | |
); | |
$parser -> process; | |
done_testing; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment