View disasm-test.txt
( 0400 00 ) BRK,
( 0401 01 12 ) $12 X) ORA,
( 0403 02 ) $02 tc,
( 0404 03 ) $03 tc,
( 0405 04 ) $04 tc,
( 0406 05 12 ) $12 ORA,
( 0408 06 12 ) $12 ASL,
( 040A 07 ) $07 tc,
( 040B 08 ) PHP,
View Makefile
CC = clang
LD = clang
AR = ar
MAKE = make
RM = rm -f
CAT = cat
CFLAGS = -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Weverything -D_DARWIN_USE_64_BIT_INODE=1
CINCLUDES = -I3rdparty/apr/include \
-I3rdparty/libuv/include \
View markdown2evernote.rb
#!/usr/bin/ruby
# Markdown to Evernote, RubyCocoa edition
# by Brian Gernhardt
# Adapted from Martin Kopichke's "Markdown to Evernote" service
# https://gist.github.com/kopischke/1009149
# Which was adapted from Brett Terpstra’s original
# http://brettterpstra.com/a-better-os-x-system-service-for-evernote-notes-with-multimarkdown/
View primes.pir
# Copyright (C) 2001-2009, Parrot Foundation.
=head1 NAME
examples/benchmarks/primes.pasm - Calculate prime numbers < 5000
=head1 SYNOPSIS
% time ./parrot examples/benchmarks/primes.pasm
View Test_More.pact
.pact pbc 0
.constants num
.end
.constants string
0 ascii "Builder"
1 ascii "Test"
2 ascii "More"
3 ascii "_test"
View temp.pact
.pact pbc 0
.constants num
0 3.14
.end
.constants string
0 ascii "WhatIsThis"
1 ascii "src/temp.pir"
2 ascii "wit"
View 00-sanity.t
#!winxed
# golfed until it stopped segfaulting
function main[main]() {
load_bytecode('rosella/core.pbc');
Rosella.initialize_rosella('test');
Rosella.Test.test(class SanityTest);
}
class SanityTest {
View pact.txt
PACT$ src/installable_disasm src/temp.pbc
"Packfile" => PMC 'PACT;Packfile' {
uuid: 0 "",
floats: FixedFloatArray (size:0) [
],
strings: FixedStringArray (size:14) [
"WhatIsThis",
"src/temp.pir",
"wit",
"",
View gist:2599989
# line comments
# must start with a pact directive giving type and version
.pact pbc 0
# enable compiler options
# 2 reasons:
# 1) to allow an extremely basic version to be turned into a C implementation
# 2) to allow experimentation. Most common options probably on by default in
# higher versions
View gist:2500370

6model Integration

Short Description

6model is the object model created for Rakudo Perl 6 and the newest iteration of the NQP lanugage. It appears to be more flexible than the PMC object model. This project is an attempt to integrate 6model into the core of Parrot.

Project Description