aboutsummaryrefslogtreecommitdiff
path: root/windows
AgeCommit message (Collapse)Author
2014-04-08windows: Use most of the source files from unix/ port.Damien George
To keep it maintainable, windows port now uses as much as possible from unix port. Maybe could even use mpconfigport.h.
2014-04-08Improve REPL detecting when input needs to continue.Damien George
Full CPython compatibility with this requires actually parsing the input so far collected, and if it fails parsing due to lack of tokens, then continue collecting input. It's not worth doing it this way. Not having compatibility at this level does not hurt the goals of Micro Python.
2014-04-08unix, windows: There's no "help" builtin.Paul Sokolovsky
2014-04-07Add uPy welcome message to UNIX and Windows ports; update Teensy port.Damien George
Partly addresses issue #154.
2014-04-07windows: Make it compile with latest changes to py core.Damien George
2014-03-31py: Remove old "run time" functions that were 1 liners.Damien George
2014-03-30Rename rt_* to mp_*.Damien George
Mostly just a global search and replace. Except rt_is_true which becomes mp_obj_is_true. Still would like to tidy up some of the names, but this will do for now.
2014-03-26Change mp_method_t.name from const char * to qstr.Damien George
Addresses issue #377.
2014-03-13windows: Change MICROPY_FLOAT config to new scheme.Damien George
2014-02-15Implement proper exception type hierarchy.Damien George
Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency.
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
Ultimately all static strings should be qstr. This entry in the type structure is only used for printing error messages (to tell the type of the bad argument), and printing objects that don't supply a .print method.
2014-02-04Use qstr id to create sys module.Paul Sokolovsky
2014-01-30windows: Make windows/main.c independent from unix/main.cMarkus Siemens
Up to know changes unix/main.c were able to break the windows build because windows/main.c simply included unix/main.c. Now windows/main.c stands on it's own and won't break if unix/main.c changes.
2014-01-28Added Windows port (see #233)Markus Siemens