Skip to content

Instantly share code, notes, and snippets.

@araraloren
Last active May 5, 2017 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save araraloren/5598955a601f3ffed95cde0d7c71cd0f to your computer and use it in GitHub Desktop.
Save araraloren/5598955a601f3ffed95cde0d7c71cd0f to your computer and use it in GitHub Desktop.
perl6 -Ilib ./bin/galaxy.p6 laws bin/laws rakudostar-0.7-x86_64
new output:
Level 0 elems: 5
star =>
Level 1 elems: 6
core => NQPMu
name => Str|rakudostar
star => Str|rakudostar-0.7-x86_64
tag => NQPMu
form => NQPMu
age => Str|0.7
galaxy =>
Level 1 elems: 8
core => Str|x86_64
name => Str|sakuya
laws => Str|bin/laws
halo => Str|/var/galaxy/
disk => Str|/etc/galaxy/stars/
yolo => Bool|1
bulge => Str|/etc/galaxy/
origin => Str|nono
nebula =>
Level 1 elems: 3
Helix => Str|http://helix.galaxy.xyz
local => Str|/tmp
Zeta => Str|http://zeta.galaxy.xyz
gravity =>
Level 1 elems: 1
dummy => Bool|1
alien =>
Level 1 elems: 3
name => Str|sakuya
id => Int|1000
command => Str|galaxy
{:bulge("/etc/galaxy/"), :core("x86_64"), :disk("/etc/galaxy/stars/"), :halo("/var/galaxy/"), :laws("bin/laws"), :name("sakuya"), :origin("nono"), :yolo}
{:command("galaxy"), :id(1000), :name("sakuya")}
-----------------------------------------------------------------
old output:
Level 0 elems: 5
star =>
Level 1 elems: 6
core => Str|x86_64
name => Str|rakudostar
star => Str|rakudostar-0.7-x86_64
tag => NQPMu
form => NQPMu
age => Str|0.7
galaxy =>
Level 1 elems: 8
core => Str|x86_64
name => Str|sakuya
laws => Str|bin/laws
halo => Str|/var/galaxy/
disk => Str|/etc/galaxy/stars/
yolo => Bool|1
bulge => Str|/etc/galaxy/
origin => Str|nono
nebula =>
Level 1 elems: 3
Helix => Str|http://helix.galaxy.xyz
local => Str|/tmp
Zeta => Str|http://zeta.galaxy.xyz
gravity =>
Level 1 elems: 1
dummy => Bool|1
alien =>
Level 1 elems: 3
name => Str|sakuya
id => Int|1000
command => Str|galaxy
{:bulge("/etc/galaxy/"), :core("x86_64"), :disk("/etc/galaxy/stars/"), :halo("/var/galaxy/"), :laws("bin/laws"), :name("sakuya"), :origin("nono"), :yolo}
{:command("galaxy"), :id(1000), :name("sakuya")}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment