Projects tagged ‘python’ and ‘vm’


[9 total ]

1937 Users
   

Python is a dynamic, object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with ... [More] extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel the language encourages the development of better code. [Less]
Created over 3 years ago.

2 Users

The Python-on-a-Chip program consists of the PyMite virtual machine, ports to specific platforms, libraries, tests, tools and documentation. PyMite is a flyweight Python bytecode interpreter written ... [More] from scratch to execute in low memory on microcontrollers without an operating system. PyMite supports a subset of Python 2.5 and can also be compiled, tested and executed on a desktop computer. [Less]
Created 7 months ago.

1 Users

An optimization branch of CPython, intended to be fully compatible and significantly faster. See the ProjectPlan for details on what we're building. The FAQ provides quick answers to common ... [More] questions we've been getting. Benchmark numbers for our 2009Q3 release can be found on the Release2009Q3 page. See GettingStarted for checkout and build instructions. Release history: 2009Q1: 1 April 2009 2009Q2: 13 July 2009 2009Q3: 20 October 2009 Send any questions/comments/flames to unladen-swallow@googlegroups.com. We also hang out on irc.oftc.net in #unladenswallow. [Less]
Created 8 months ago.

0 Users

PEJSPython Executed by JavaScriptThe project aims at implementing a Python VM in JavaScript, enabling Python on web pages in browsers all over the world :) For now, this is done by executing Python ... [More] Byte Code Instructions as outputted by the standard CPython implementation, but the perspectives are laid out by HotRuby, where nested Ruby code is run straight out of the HTML. This project is sort of a Python equivalence to HotRuby. School projectAt the moment, this is a school project as part of the course Design of Virtual Machines for Object Oriented Languages at DAIMI, the computer science department at University of Aarhus. The course is held by Lars Bak and his staff at Google Aarhus, the V8 team. DetailsOur aim is to implement an object-oriented subset of Python bytecode. Our approach is as follows: We've started by implementing a simple interpreter (src/interpreter.js) which simply switches over the bytecodes and implements only some very basic language constructs. The Python bytecode is actually generated by a Python program (tools/pejs.py) which outputs it in JavaScript arrays.The JavaScript file containing the bytecodes is then referenced in an HTML-file which also references our interpreter and thus the Python code is executed in the browser. For a complete Python implementation we would have to write a Python compiler as well as the virtual machine we are doing. Milestones Week Milestone Details 44 Up and running Simple interpreter operating on a stack 45 Basic constructs Implemented jumps and loops 46 Object and Memory model Decide on object representation and heap layout 47 Object and Memory model Implement classes and objects 48 Garbage collector Simple garbage collector if needed 49 Library calls Handle calls to python library somehow 50 Performance evaluation Report 51 Deadline Report We aim to finish the basic language features (variables, conditionals, loops, functions) and then design and implement classes and objects which implies designing an object and a memory model. This is the most important part of the project. After that, we would like to handle garbage collection as well as library calls. It is not yet clear how far we will get with regard to these two issues. That depends on how complex the object implementation turns out to be. Finally we document our implementation with performance evaluations where we would like to consider different JavaScript VM's for executing our own VM as well as implementation alternatives inside our VM. [Less]
Created 12 months ago.

0 Users

A minimalist implementation of Python in 64k of code. Includes functions, classes, exceptions, lists, dictionaries, modules, list comprehensions, parser, compiler, virtual machine, garbage ... [More] collection, numbers, strings, and (some) builtins. Batteries not included. [Less]
Created about 1 year ago.

0 Users

Implementation of virtual machine UM-32 "Universal Machine".
Created 6 months ago.

0 Users

The project is to develop a virtual machine that runs python in which one can view the byte code instructions executing. Attempts will be made to run the VM on an AVR or ARM microcontroller as space ... [More] permits. The microcontroller VM will be based on the PyMite code base. Additional tasks shall include a peep hole optimizer on the byte code and new byte code instructions to allow the optimizer to support research into parallelizing the processes. [Less]
Created 11 months ago.

0 Users

TYB Compiler is a compiler written in python which generate code for EPRO VM (please see below). EPRO VM is a simple stack machine which can handle arbitrary large integer. EPRO VM is written in not only python but also D (fast!).
Created 11 months ago.

0 Users

Q is a scripting engine that implements C-like language, compiler, and bytecode interpreter. Main design goal were to create minimal and fast engine that can be easily embedded into the C/C++ programs. Q is implemented in standard C.
Created about 1 year ago.