User loginNavigation |
Pythonect 0.1.0 ReleaseHi 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 '->' 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 >>> 1 -> import math -> math.log Parallelization in Pythonect: >>> "Hello World" -> [ print , print ] >>> range(0,3) -> import math -> math.sqrt 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" >>> [ 1 , 2 ] -> _**_ True/False return values as filters: >>> "Hello World" -> _ == "Hello World" -> print >>> "Hello World" -> _ == "Hello World1" -> print >>> range(1,10) -> _ % 2 == 0 Last but not least, I have also added extra syntax for making remote procedure call easy: >>> 1 -> inc@xmlrpc://localhost:8000 -> print 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. Thanks, Itzik Kotler By ikotler at 2012-04-02 22:45 | LtU Forum | previous forum topic | next forum topic | other blogs | 5120 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 19 hours ago
49 weeks 2 days ago
50 weeks 6 days ago
50 weeks 6 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago