Search the web
Sign In
New User? Sign Up
pluvo
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Pluvo programming language   Message List  
Reply | Forward Message #4 of 7 |

Hey, nice work on the Pluvo language. Language nuts
seem to want to fuse Lisp, Python, and Ruby, and
Pluvo looks like a step in that direction.

Regarding the @library syntax:

"These [library] functions are not loaded into
memory when a program starts, for speed and to
cut down on memory usage."

- Pluvo documentation

You can get around this is to either loading the
library functions on the first call to @foolibrary,
or by loading a bunch of proxy objects into memory
and loading the actual library object when the
proxy object is first used.

I coded this in Python...it's best explained
by an example:

Install module from http://tinyurl.com/jnjtj
>>> from autoimp import *
>>> urllib2.urlopen('http://www.google.com') # Module loaded
>>> urllib2.urlopen('http://www.yahoo.com') # Module already in memory

I use this even in my regular Python programs
now, as it saves significant time when I'm
just playing around with things.

Well, who knows if that would work with pluvo...
it was just an idea to throw out there.

- Connelly Barnes


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Thu Aug 3, 2006 9:33 am

connellybarnes
Offline Offline
Send Email Send Email

Forward
Message #4 of 7 |
Expand Messages Author Sort by Date

Hey, nice work on the Pluvo language. Language nuts seem to want to fuse Lisp, Python, and Ruby, and Pluvo looks like a step in that direction. Regarding the...
Connelly Barnes
connellybarnes
Offline Send Email
Aug 3, 2006
9:34 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help