Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22467

Re: Pythonect 0.1.0 Release

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=432cc6fd8=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'operator': 0.03; 'syntax': 0.04; 'interpreter': 0.05; 'passes': 0.05; 'interpreter.': 0.07; 'new,': 0.07; 'python': 0.09; '[1,': 0.09; 'bsd': 0.09; 'identifier': 0.09; 'item,': 0.09; 'perks': 0.09; 'python"': 0.09; 'scripting': 0.09; 'statements': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.10; 'project,': 0.11; '>>>': 0.14; "'hello": 0.16; '[2,': 0.16; 'item:': 0.16; 'least,': 0.16; 'license.': 0.16; 'operators.': 0.16; 'renamed': 0.16; 'subject:Release': 0.16; 'url:gz': 0.16; 'url:tar': 0.16; 'users.': 0.16; 'language': 0.16; 'shell': 0.18; 'input': 0.18; 'math': 0.19; 'wrote:': 0.19; 'example': 0.19; 'import': 0.20; 'written': 0.21; 'print': 0.21; 'all,': 0.21; 'implicit': 0.21; 'pipe': 0.21; 'header:In-Reply-To:1': 0.22; 'flexibility': 0.23; 'programming': 0.23; 'cc:2**0': 0.26; 'header:User-Agent:1': 0.26; 'function': 0.26; 'at:': 0.27; 'cc:no real name:2**0': 0.27; 'developers': 0.27; 'values': 0.28; 'cc:addr:python.org': 0.28; 'aims': 0.28; 'once.': 0.28; "i'm": 0.29; '(i.e.': 0.30; 'actively': 0.30; 'announce': 0.30; '(and': 0.30; 'remote': 0.31; 'feedback': 0.33; 'false': 0.34; 'should': 0.35; 'url:org': 0.35; 'item': 0.37; 'but': 0.37; 'subject:: ': 0.37; 'from:': 0.38; 'under': 0.38; 'skip:i 20': 0.38; 'allow': 0.40; 'release': 0.40; 'pleased': 0.60; 'free': 0.61; 'information': 0.61; 'world': 0.61; 'procedure': 0.62; 'first': 0.62; 'more': 0.63; 'skip:n 10': 0.63; 'contact': 0.66; 'making': 0.67; 'future,': 0.69; 'received:194': 0.69; 'url:0': 0.69; 'tour': 0.78; 'computing.': 0.84; 'welcoming': 0.84; 'canonical': 0.91
X-IronPort-AV E=Sophos;i="4.75,357,1330902000"; d="scan'208";a="302606"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Mon, 02 Apr 2012 16:21:14 +0200
From Jean-Michel Pichavant <jeanmichel@sequans.com>
User-Agent Mozilla-Thunderbird 2.0.0.24 (X11/20100328)
MIME-Version 1.0
To Itzik Kotler <xorninja@gmail.com>
Subject Re: Pythonect 0.1.0 Release
References <CAD-_V74_DL-bK4s-MgKXvY1tscxFurPnbOntFbHg+XDD6wTddg@mail.gmail.com>
In-Reply-To <CAD-_V74_DL-bK4s-MgKXvY1tscxFurPnbOntFbHg+XDD6wTddg@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1215.1333376477.3037.python-list@python.org> (permalink)
Lines 114
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1333376477 news.xs4all.nl 6868 [2001:888:2000:d::a6]:33617
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22467

Show key headers only | View raw


Itzik Kotler wrote:
> Hi All,
>
> I'm pleased to announce the first beta release of Pythonect interpreter.
>
> Pythonect is a new, experimental, general-purpose dataflow programming 
> language based on Python.
>
> It aims to combine the intuitive feel of shell scripting (and all of 
> its perks like implicit parallelism) with the flexibility and agility 
> of Python.
>
> Pythonect interpreter (and reference implementation) is written in 
> Python, and is available under the BSD license.
>
> Here's a quick tour of Pythonect:
>
> The canonical "Hello, world" example program in Pythonect:
>
> >>> "Hello World" -> print
> <MainProcess:Thread-1> : Hello World
> Hello World
> >>>
>
> '->' and '|' are both Pythonect operators.
>
> The pipe operator (i.e. '|') passes one item at a item, while the 
> other operator passes all items at once.
>
>
> Python statements and other None-returning function are acting as a 
> pass-through:
>
> >>> "Hello World" -> print -> print
> <MainProcess:Thread-2> : Hello World
> <MainProcess:Thread-2> : Hello World
> Hello World
> >>>
>
> >>> 1 -> import math -> math.log
> 0.0
> >>>
>
>
> Parallelization in Pythonect:
>
> >>> "Hello World" -> [ print , print ]
> <MainProcess:Thread-4> : Hello World
> <MainProcess:Thread-5> : Hello World
> ['Hello World', 'Hello World']
>
> >>> range(0,3) -> import math -> math.sqrt
> [0.0, 1.0, 1.4142135623730951]
> >>>
>
> In the future, I am planning on adding support for multi-processing, 
> and even distributed computing.
>
>
> The '_' identifier allow access to current item:
>
> >>> "Hello World" -> [ print , print ] -> _ + " and Python"
> <MainProcess:Thread-7> : Hello World
> <MainProcess:Thread-8> : Hello World
> ['Hello World and Python', 'Hello World and Python']
> >>>
>
> >>> [ 1 , 2 ] -> _**_
> [1, 4]
> >>>
>
>
> True/False return values as filters:
>
> >>> "Hello World" -> _ == "Hello World" -> print
> <MainProcess:Thread-9> : Hello World
> >>>
>
> >>> "Hello World" -> _ == "Hello World1" -> print
> False
> >>>
>
> >>> range(1,10) -> _ % 2 == 0
> [2, 4, 6, 8]
> >>>
>
>
> Last but not least, I have also added extra syntax for making remote 
> procedure call easy:
>
> >> 1 -> inc@xmlrpc://localhost:8000 -> print
> <MainProcess:Thread-2> : 2
> 2
> >>>
>
>
> Download Pythonect v0.1.0 from: 
> http://github.com/downloads/ikotler/pythonect/Pythonect-0.1.0.tar.gz
>
> More information can be found at: http://www.pythonect.org
>
>
> I will appreciate any input / feedback that you can give me.
>
> Also, for those interested in working on the project, I'm actively 
> interested in welcoming and supporting both new developers and new 
> users. Feel free to contact me.
>
>
> Regards,
> Itzik Kotler | http://www.ikotler.org
It should be renamed Perlonect :)

JM

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Pythonect 0.1.0 Release Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-04-02 16:21 +0200

csiph-web