It's only a step in the direction, but this is exactly why I've always
thought custom getProp / setProp handlers were cool language magic.
For example, a while back when I wrote an external for rotating player
objects, I implemented custom handlers to support the "angle" property
for player objects.
While it didn't really make a lick of difference otherwise, I much
enjoyed being able to write:
set the angle of player 1 to 90
instead of something like:
get XSetMovieAngle(player 1, 90)
Since image objects already supported the "angle" property, it really
felt like it was part of the language even though it was really an
external. Cool beans!
This sounds like Language Oriented Programming
http://en.wikipedia.org/wiki/Language_Oriented_Programming
I've been thinking that it would be cool if Rev would support custom
language elements (similar to operator overloading) that you could
then build your own Revolution "language" that is then specific to
your problem.
At 12:07 PM 7/16/2006, you wrote:
I listed many several years back, and implemented about a dozen.
I think the key for something like this will be when we move beyond
what could be described as "keyboard shortcuts," and into something
that can only be described as enhanced syntax, i.e. something that
actually changes the way you think when you program.
gc
On Jul 16, 2006, at 9:08 AM, Rob Cozens wrote:
So who else has examples of how personalized syntax and keyboard
shorthand might be used?
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution