Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_nfg@48165 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
- Loading branch information
Showing
51 changed files
with
28,143 additions
and
26,957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.5.0 | ||
2.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
47087 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
Oops, something went wrong.