Skip to content

Commit

Permalink
Sync with trunk.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_nfg@48165 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
darbelo committed Jul 22, 2010
1 parent 5da1459 commit 5507a9c
Show file tree
Hide file tree
Showing 51 changed files with 28,143 additions and 26,957 deletions.
6 changes: 3 additions & 3 deletions CREDITS
Expand Up @@ -129,8 +129,7 @@ D: Keeps us running
E: ask@develooper.com

N: Audrey Tang
U: audreyt
U: autrijus
U: au
E: audreyt@audreyt.org
D: Pugs, a Perl6->Parrot implementation.

Expand Down Expand Up @@ -1046,7 +1045,8 @@ N: Will "Coke" Coleda
U: coke
A: wcoleda
E: will@coleda.com
D: Tcl language (partcl), APL, website, various languages/ upkeep, misc.
D: Tcl HLL implementation (partcl), APL, website,
D: Release Manager, PaFo board member, curmudgeon

N: Zach Lipton

Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,5 +1,9 @@
#1 $Id$

2010.07.10 coke
* Released 2.6.0
See NEWS for more.

2010.06.15 Gerd
* Released 2.5.0
See NEWS for more.
Expand Down
23 changes: 22 additions & 1 deletion DEPRECATED.pod
Expand Up @@ -305,6 +305,27 @@ As of the latest PCC changes, this does nothing different from '.call'.

L<https://trac.parrot.org/parrot/ticket/1624>

=item :main Sub behaviour and selection. [eligible in 2.7]

Currently, if no :main sub is found, the first .sub in a file is used as
main. Also, arguments are passed to the main sub regardless of the .param
declarations in that sub.

After this change, if no sub is marked with :main, an exception will be
raised. Multiple :main declarations will be still be allowed, and all but the
first will be ignored.

This change will also force all subs, including :main, to have their
arguments checked - to allow an arbitrary number of arguments, have
this be the only .param declaration in the sub.

.param pmc args :slurpy


L<https://trac.parrot.org/parrot/ticket/1033>
L<https://trac.parrot.org/parrot/ticket/1704>
L<https://trac.parrot.org/parrot/ticket/1705>

=back

=head1 Functions
Expand Down Expand Up @@ -446,7 +467,7 @@ L<http://trac.parrot.org/parrot/ticket/1337>

L<https://trac.parrot.org/parrot/ticket/1598>

=item LWP, HTTP::Message & URI [experimental]
=item LWP, HTTP::Message, URI & URI::Escape [experimental]

L<http://trac.parrot.org/parrot/ticket/1637>

Expand Down
11 changes: 7 additions & 4 deletions MANIFEST
@@ -1,7 +1,7 @@
# ex: set ro:
# $Id$
#
# generated by tools/dev/mk_manifest_and_skip.pl Tue Jun 29 22:56:50 2010 UT
# generated by tools/dev/mk_manifest_and_skip.pl Tue Jul 20 08:39:24 2010 UT
#
# See below for documentation on the format of this file.
#
Expand Down Expand Up @@ -619,6 +619,7 @@ examples/languages/abc/t/abc_functions [examples]
examples/languages/abc/t/abc_special_variables [examples]
examples/languages/abc/t/abc_statement [examples]
examples/languages/squaak/MAINTAINER [examples]
examples/languages/squaak/PARROT_REVISION [examples]
examples/languages/squaak/README [examples]
examples/languages/squaak/doc/tutorial_episode_1.pod [examples]
examples/languages/squaak/doc/tutorial_episode_2.pod [examples]
Expand All @@ -633,9 +634,11 @@ examples/languages/squaak/examples/factorial.sq [examples]
examples/languages/squaak/examples/life.sq [examples]
examples/languages/squaak/setup.pir [examples]
examples/languages/squaak/squaak.pir [examples]
examples/languages/squaak/src/builtins/say.pir [examples]
examples/languages/squaak/src/parser/actions.pm [examples]
examples/languages/squaak/src/parser/grammar.pg [examples]
examples/languages/squaak/src/Squaak/Actions.pm [examples]
examples/languages/squaak/src/Squaak/Compiler.pm [examples]
examples/languages/squaak/src/Squaak/Grammar.pm [examples]
examples/languages/squaak/src/Squaak/Runtime.pm [examples]
examples/languages/squaak/src/squaak.pir [examples]
examples/languages/squaak/t/00-sanity.t [examples]
examples/languages/squaak/t/01-math.t [examples]
examples/library/acorn.life [examples]
Expand Down
4 changes: 2 additions & 2 deletions MANIFEST.generated
Expand Up @@ -2,11 +2,11 @@
# See tools/dev/install_files.pl for documentation on the
# format of this file.
# Please re-sort this file after *EVERY* modification
blib/lib/libparrot.2.5.0.dylib [main]lib
blib/lib/libparrot.2.6.0.dylib [main]lib
blib/lib/libparrot.a [main]lib
blib/lib/libparrot.dylib [main]lib
blib/lib/libparrot.so [main]lib
blib/lib/libparrot.so.2.5.0 [main]lib
blib/lib/libparrot.so.2.6.0 [main]lib
compilers/data_json/data_json.pbc [data_json]
config/gen/call_list/opengl.in []
docs/ops/bit.pod [doc]
Expand Down
15 changes: 14 additions & 1 deletion NEWS
@@ -1,9 +1,22 @@
# $Id$

New in 2.6.0
- Core
+ Plug some memory leaks
+ As always, bug fixes and some optimizations
- Runtime
+ added (experimental) URI::Escape
- Testing
+ Improved test coverage of core parrot
- Documentation
+ Updated the Squaak tutorial to use modern NQP-rx and PCT
- Platforms
+ The Fedora package 'parrot-devel' install the files for syntax-highlighting
and automatic indenting for the vim editor.
and automatic indenting for the vim editor
- NQP-rx
+ Updated version included from http://github.com/perl6/nqp-rx includes
new or improved: regex backtracking, named assertions, interactive mode,
and setting (a minimal but useful runtime library)

New in 2.5.0
- Core
Expand Down
19 changes: 3 additions & 16 deletions PBC_COMPAT
Expand Up @@ -28,22 +28,9 @@

# please insert tab separated entries at the top of the list

6.22 2010.06.09 darbelo NFG support in freeze.
6.21 2010.06.09 NotFound add ByteBuffer PMC
6.20 2010.05.29 plobsing eliminate unused fixup type 'label'
6.19 2010.05.27 plobsing removed numerous core ops (TT #449)
6.18 2010.05.25 cotto removed ops.num
6.17 2010.05.20 NotFound store encoding of string constants
6.16 2010.05.18 plobsing move freeze/thaw adjacent to visit
6.15 2010.05.06 bacek add StringBuilder PMC
6.14 2010.05.03 coke remove popaction, pushmark, pushaction ops.
6.13 2010.05.03 coke move File/OS pmcs to src/dynpmc
6.12 2010.05.02 plobsing store constant PMC strings as top level constant strings
6.11 2010.04.29 tewk remove ParrotRunningThread
6.10 2010.04.29 NotFound packfiledebug.pmc
6.9 2010.04.27 bacek remove deprecated in-place string ops (bitwise, charset, case change)
6.8 2010.04.27 bacek remove deprecated in-place substr ops
6.7 2010.04.22 coke remove RetContinuation PMC
8.1 2010.06.09 darbelo NFG support in freeze.
8.0 2010.07.20 coke released 2.6.0
7.0 2010.04.20 gerd released 2.3.0 (version # added ex post facto, as all previous version #s were published)
6.6 2010.04.17 bacek add replace op
6.5 2010.03.09 cotto remove cpu_ret op
6.4 2010.03.02 cotto remove prederef__ and reserved
Expand Down
2 changes: 1 addition & 1 deletion README
@@ -1,4 +1,4 @@
This is Parrot, version 2.5.0
This is Parrot, version 2.6.0
------------------------------

Parrot is Copyright (C) 2001-2010, Parrot Foundation.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.5.0
2.6.0
2 changes: 1 addition & 1 deletion docs/book/pir/ch04_variables.pod
Expand Up @@ -182,7 +182,7 @@ it's true and the second argument otherwise:

$P0 = or $P1, $P2

=end PIR_FRAGMENT_INVALID[
=end PIR_FRAGMENT_INVALID

Both C<and> and C<or> are short-circuiting ops. If they can determine what
value to return from the first argument, they'll never evaluate the second.
Expand Down
2 changes: 2 additions & 0 deletions docs/parrothist.pod
Expand Up @@ -111,4 +111,6 @@ Starred release numbers indicate supported releases.
Whiteknight 2.4.0 2010-May-18 "Sulfer Crest"
Gerd 2.5.0 2010-Jun-15 "Cheops"

coke 2.6.0 * 2010-Jul-20 "Red-rumped"

=cut
9 changes: 6 additions & 3 deletions docs/project/release_manager_guide.pod
Expand Up @@ -150,7 +150,8 @@ as these are only used in development and not relevant to the bytecode support
policy. (Those changes are all included within the major version number
increase for the supported release.)

Once you've updated PBC_COMPAT, run C<sh tools/dev/mk_native_pbc> to update the
Once you've updated PBC_COMPAT, running C<sh tools/dev/mk_packfile_pbc> if
necessary, then run C<sh tools/dev/mk_native_pbc> to update the
pbc files used in the native pbc tests. Note that you must have Parrot already
built for this to work, and that this script will reconfigure and rebuild
Parrot with various primitive size options.
Expand Down Expand Up @@ -261,6 +262,9 @@ works well for use Perl and PerlMonks, and text for the rest. It is not a
bad idea to add a "highlights" section to draw attention to major new
features, just be sure to say the same thing in both text and HTML versions.

Be sure to include the SHA1 sums of the tarballs in the release announcement;
They're automatically generated by C<make release>.

=item 10.

Update the website. You will need an account with editor rights
Expand Down Expand Up @@ -409,10 +413,9 @@ The calendar of releases is available at the comp.lang.parrot google calendar,
visible at
L<http://www.google.com/calendar/render?cid=ldhctdamsgfg5a1cord52po9h8@group.calendar.google.com>.

- Jul 20, 2010 - 2.6* - coke
- Aug 17, 2010 - 2.7 - mikehh
- Sep 21, 2010 - 2.8 - gerd
- Oct 19, 2010 - 2.9* - ??
- Oct 19, 2010 - 2.9* - gerd
- Nov 16, 2010 - 2.10 - ??
- Dec 21, 2010 - 2.11 - ??
- Jan 18, 2010 - 3.0* - ??
Expand Down
1 change: 1 addition & 0 deletions docs/resources/parrot.css
Expand Up @@ -79,6 +79,7 @@ div#mainbody {
div#footer {
background: #121A28;
text-align: center;
color: white;
padding-top: 1px;
padding-bottom: 10px;
}
Expand Down
5 changes: 3 additions & 2 deletions examples/languages/squaak/MAINTAINER
@@ -1,4 +1,5 @@
# $Id$

N: Klaas-Jan Stol (kj,kjs)
E: parrotcode at gmail dot com
N: Tyler Curtis
U: tcurtis
E: tyler.l.curtis@gmail.com
1 change: 1 addition & 0 deletions examples/languages/squaak/PARROT_REVISION
@@ -0,0 +1 @@
47087
52 changes: 3 additions & 49 deletions examples/languages/squaak/README
@@ -1,51 +1,5 @@
Squaak: A Simple Language

Squaak is a case-study language described in the Parrot Compiler Tools
tutorial at http://www.parrotblog.org/2008/03/targeting-parrot-vm.html.

Note that Squaak is NOT an implementation Squeak; it has nothing to do
with any SmallTalk implementation.

Squaak demonstrates some common language constructs, but at the same
time is currently lacking some other, seemingly simple features. For instance,
Squaak does not have break or continue statements (or equivalents
in your favorite syntax). Once PCT has built-in support for these, they
will be added.

Squaak has the following features:

* global and local variables
* basic types: integer, floating-point and strings
* aggregate types: arrays and hash tables
* operators: +, -, /, *, %, <, <=, >, >=, ==, !=, .., and, or, not
* subroutines and parameters
* assignments and various control statements, such as "if" and "while" and "return"
* library functions: print, read

A number of common (more advanced) features are missing.
Most notable are:

* classes and objects
* exceptional control statements such as break and continue
* advanced control statements such as switch
* closures (nested subroutines and accessing local variables in an outer scope)

Squaak is designed to be a simple showcase language, to show the use of the
Parrot Compiler Tools for implementing a language.

In order to use Squaak:

$ make

Running Squaak in interactive mode:

$ ../../parrot squaak.pbc

Running Squaak with a file (for instance, the included Game of Life example):

$ ../../parrot squaak.pbc examples/life.sq

Bug reports and improvements can be sent to the maintainer or Parrot porters
mailing list.
Language 'Squaak' was created with tools/dev/mk_language_shell.pl, r47087.

$ parrot setup.pir
$ parrot setup.pir test

0 comments on commit 5507a9c

Please sign in to comment.