[pypy-dev] Restricted language

Nicolas Chauvat Nicolas.Chauvat at logilab.fr
Mon Jan 20 01:57:49 CET 2003


On Sat, Jan 18, 2003 at 11:03:34PM +0100, Christian Tismer wrote:
> Hi Armin,

Sorry, I'm not armin either.

> Yes, we should begin with the RISP processor :-)
> (Reduced Instruction Set Python).

As already said in private, I like that name. Very descriptive :-)

> Data types.
> How do we model the data types which are used
> internally by Python? Somebody already showed
> ...
> and cannot borrow lists, tuples and dicts and
> "Lift them up" into the new level.
> Instead, these need to be built from a minimum
> Python "object set" as well.
> How far should we go down?

As already said on the list, I like Mozart/Oz but not its syntax. Here
are two links that I hope useful:

1. oz kernel language
http://www.mozart-oz.org/documentation/tutorial/node1.html#label2

It says that other language constructs are built on top of that.

2. hierarchy of primary types
http://www.mozart-oz.org/documentation/tutorial/node3.html#label14

What about reusing the idea of record that serves as a basis for a lot
of higher-level constructs (dictionnaries, tuples, classes and objects, etc.)
See also http://www.mozart-oz.org/documentation/tutorial/node3.html#label19

IMHO, the goal we are trying to achieve can not be a new idea. Looking around
for research papers and research languages is a good way not to completely
reinvent the wheel.

HTH.

-- 
Nicolas Chauvat

http://www.logilab.com - "Mais où est donc Ornicar ?" - LOGILAB, Paris (France)


More information about the Pypy-dev mailing list