Help language development. Donate to The Perl Foundation

App::MoarVM::ConfprogCompiler cpan:TIMOTIMO last updated on 2019-07-20

App-MoarVM-ConfprogCompiler-0.0.8/

Build Status

NAME

App::MoarVM::ConfprogCompiler - Compiler for MoarVM's confprog subsystem

SYNOPSIS

use App::MoarVM::ConfprogCompiler;

ConfprogCompiler.compile($sourcecode);
confprog-compile -e="version = 1; entry profiler_static: profile = choice(1, 2, 3, 4); log = "hello";' -o=example.mvmconfprog
perl6 --confprog=example.mvmconfprog --profile -e '.say for (^100_000).grep(*.is-prime).tail(5)'

DESCRIPTION

App::MoarVM::ConfprogCompiler will parse a domain-specific language for defining the behavior of specific pluggable moarvm subsystems, such as the instrumented or heapsnapshot profiler.

A commandline utility named confprog-compile is provided that takes a program as a filename or a literal string and outputs a hexdump (compatible with xxd -r) or to an output file passed on the commandline.

AUTHOR

Timo Paulssen [email protected]

COPYRIGHT AND LICENSE

Copyright 2019 Timo Paulssen

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.