PASM and PIR ^

examples/pasm/cat.pasm
cat-like utility.

examples/pasm/fact.pasm
Mmmm, beer good.

examples/pasm/hello.pasm
Hello World.

examples/pasm/nanoforth.pasm
examples/pasm/nanoforth2.pasm

examples/pasm/stack.pasm
User Stack.

examples/pasm/trace.pasm
Tracing.

examples/pasm/xml_parser.pasm
Simple XML Parser.

PIR ^

examples/pir/circle.pir
Draw a circle on any VT100-compatible screen.

examples/pir/euclid.pir
Euclid's algorithm.

examples/pir/hanoi.pir
Towers of hanoi.

examples/pir/hello-dwim.pir
Parrot's confusing opcodes made easy.

examples/pir/io.pir
IO Example.

examples/pir/life.pir
Conway's Life.

examples/pir/local_label.pir
Local labels.

examples/pir/mandel.pir
Print the Mandelbrot set.

examples/pir/quine_ord.pir
a quine that store the code in a ResizableIntegerArray.

examples/pir/readline.pir
Read,concatenate and print.

examples/pir/substr.pir
playing with substr.

examples/pir/sudoku.pir
A sudoku solver.

examples/pir/thr-primes.pir
Threads.

examples/pir/uniq.pir
Remove duplicate lines from a sorted file.

Subroutines ^

examples/subs/bsr_ret.pasm
Branch to location.

examples/subs/coroutine.pasm
Sample co-routines in Parrot.

examples/subs/jsr_ret.pasm
Jumping to subroutine.

examples/subs/multi_retvals.pir
Subroutine example.

examples/subs/no_retval.pir
Subroutine example.

examples/subs/pasm_sub1.pasm
Parrot calling conventions.

examples/subs/single_retval.pir
Subroutine example.

IO ^

examples/io/echo_client.pir
Echo client.

examples/io/http.pir
HTTP client.

examples/io/httpd.pir
HTTP server.

examples/io/net_smtp.pasm
SMTP Example.

examples/io/pioctl.pasm
"pioctl" Examples.

Streams ^

examples/streams/Bytes.pir
examples/streams/Combiner.pir
examples/streams/Coroutine.pir
examples/streams/FileLines.pir
examples/streams/Filter.pir
examples/streams/Include.pir
examples/streams/Lines.pir
examples/streams/ParrotIO.pir
examples/streams/SubCounter.pir
examples/streams/SubHello.pir
examples/streams/Writer.pir

Benchmarking ^

examples/benchmarks/addit.pasm
Variable Argument Subroutines.

examples/benchmarks/addit.pir
Variable Argument Subroutines.

examples/benchmarks/addit.pl
Variable Argument Subroutines.

examples/benchmarks/addit2.pir
Variable Argument Subroutines.

examples/benchmarks/array_access.pir
Reading from array.

examples/benchmarks/arriter.pir
Iterator Benchmark.

examples/benchmarks/arriter.pl
Iterator Benchmark.

examples/benchmarks/arriter_o1.pir
Iterator Benchmark.

examples/benchmarks/bench_newp.pasm
PMC Creation.

examples/benchmarks/fib.pir
Fibonacci Benchmark.

examples/benchmarks/fib.pl
Fibonacci Benchmark.

examples/benchmarks/freeze.pasm
Freeze/Thaw Benchmarks.

examples/benchmarks/freeze.pl
Freeze/Thaw Benchmarks.

examples/benchmarks/gc_alloc_new.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_alloc_reuse.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_generations.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_header_new.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_header_reuse.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_waves_headers.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_waves_sizeable_data.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_waves_sizeable_headers.pasm
GC/DOD Benchmark.

examples/benchmarks/mops.pasm
Calculate a benchmark for Integer PMCs.

examples/benchmarks/mops.pl
Calculate M ops/s.

examples/benchmarks/mops_intval.pasm
Calculate a benchmark.

examples/benchmarks/oon.txt

examples/benchmarks/primes.c
Calculate prime numbers < 50000.

examples/benchmarks/primes.pasm
Calculate prime numbers < 50000.

examples/benchmarks/primes.pl
Calculate prime numbers < 10000.

examples/benchmarks/primes2.c
Calculate prime numbers < 10000.

examples/benchmarks/primes2.pasm
Calculate prime numbers < 10000.

examples/benchmarks/primes2.py
Calculate prime numbers < 5000.

examples/benchmarks/primes2_i.pasm
Calculate prime numbers < 10000.

examples/benchmarks/primes_i.pasm
Calculate prime numbers < 50000.

examples/benchmarks/shared_ref.pasm
Shared reference between threads.

examples/benchmarks/shared_ref.pl
Shared reference between threads.

examples/benchmarks/stress.pasm
GC stress-testing.

examples/benchmarks/stress.pl
GC stress-testing.

examples/benchmarks/stress1.pasm
GC stress-testing.

examples/benchmarks/stress1.pl
GC stress-testing.

examples/benchmarks/stress2.pasm
Brief.

examples/benchmarks/stress2.pl
GC stress-testing.

examples/benchmarks/stress3.pasm
GC stress-testing.

Speed Comparison ^

examples/mops/README

examples/mops/mops.c
Calculate M ops/s.

examples/mops/mops.cs
Calculate M ops/s.

examples/mops/mops.p6
Calculate M ops/s.

examples/mops/mops.pl
Calculate M ops/s.

examples/mops/mops.py
Calculate M ops/s.

examples/mops/mops.rb
Calculate M ops/s.

Native Call Interface ^

examples/nci/PQt.C
Qt/Parrot Library.

examples/nci/QtHelloWorld.pasm
Qt Example.

examples/nci/ls.pir
a directory lister.

examples/nci/win32api.pir
Win32 Example.


parrot