Good idea!

I'll add the file (if nobody beats me to it).

BTW, I think it'd be good to keep Squaak up to date, meaning that once
return statements are supported in PAST, that these are added as well.
This way it can be used as a complete showcase, demonstrating all of
PAST.

As soon as PAST is feature-complete and I have enough time to play,
I'll improve Squaak

kjs

On Fri, Apr 25, 2008 at 4:49 PM, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
>
>  Someone looking for basic information about Squaak may have
>  difficulty finding it.
>
>  Below is some text I adapted from the parrotblog tutorial that
>  might be suitable as a starting point for a README in
>  languages/squaak.  Feel free to add or modify it as appropriate.
>
>  Pm
>
>  [Adapted from the parrotblog.org page -- feel free to update --Pm]
>
>  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 .
>
>  Squaak demonstrates some common language constructs, but at the same
>  time is lacking some other, seemingly simple features. For instance,
>  Squaak does not have return, break or continue statements (or equivalents
>  in your favorite syntax).
>
>  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"
>
>  A number of common (more advanced) features are missing.
>  Most notable are:
>
>     * classes and objects
>     * exceptional control statements such as break and return
>     * advanced control statements such as switch
>     * closures (nested subroutines and accessing local variables in an outer 
> scope)
>
>
>
  • Squaak README Patrick R. Michaud
    • Re: Squaak README Klaas-Jan Stol

Reply via email to