Skip to content

Instantly share code, notes, and snippets.

@rns
Created July 23, 2015 18:21
Show Gist options
  • Save rns/a877e2942376569154c8 to your computer and use it in GitHub Desktop.
Save rns/a877e2942376569154c8 to your computer and use it in GitHub Desktop.
assert(2^-2 == 1/4 and -2^- -2 == - - -4);
#!/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