Damien
|
9ecbcfff99
|
py: work towards working closures.
|
11 years ago |
Damien
|
db4c361f1c
|
py: add skeletal import functionality.
|
11 years ago |
Damien
|
033d17a633
|
py: built-in range now accepts variable number of arguments.
|
11 years ago |
Damien
|
86c7fc7dd9
|
py: add list pop and sort, unpack_sequence, and keywords in method_call.
|
11 years ago |
Damien
|
d47f9d5a4f
|
py: add call to __init__ when instantiating class object.
|
11 years ago |
Damien
|
f03001f8a6
|
Add function to decode and show byte code.
|
11 years ago |
Damien
|
0446a0d76d
|
Change some debugging/output messages for native code generation.
|
11 years ago |
Damien
|
6b92d451b2
|
Add len and subscr (a hack) support for strings.
|
11 years ago |
Damien
|
5bf32c3b6b
|
Built-in print function supports variable number of arguments.
|
11 years ago |
Damien
|
40fdfe3000
|
Improve allocation of stack for byte code.
|
11 years ago |
Damien
|
03c9cfb015
|
Make byte code jumps relative.
|
11 years ago |
Damien
|
96a0addb18
|
Fixup include of stdarg and va_list definition.
|
11 years ago |
Damien
|
2f06c57f8a
|
Add simple var-arg functions; add simple string.format.
|
11 years ago |
Damien
|
33af3bf028
|
Change Py API names, py_get_* -> py_obj_get_*.
|
11 years ago |
Damien
|
d57eba51e5
|
Add user object to runtime.
|
11 years ago |
Damien
|
6ba1314265
|
Fix bug: emit native didn't clear last_was_return in label_assign.
|
11 years ago |
Damien
|
7410e440ab
|
Add basic complex number support.
|
11 years ago |
Damien
|
e0b1864337
|
Small hack to temporarily fix allocation of unique_code slots.
|
11 years ago |
Damien
|
ccfc9c51ba
|
Py runtime: list.append returns None.
|
11 years ago |
Damien
|
4ebb32fb95
|
Implement: str.join, more float support, ROT_TWO in VM.
|
11 years ago |
Damien
|
2839168340
|
Add py_get_array_fixed_n function.
|
11 years ago |
Damien
|
6f08f8ce51
|
Add working MMA support.
|
11 years ago |
Damien
|
8b3a7c2237
|
Fix func decls with no arguments: () -> (void).
|
11 years ago |
Damien
|
9fc7933ff2
|
Add py_get_qstr.
|
11 years ago |
Damien
|
ec63cce470
|
Add simple support for C modules.
|
11 years ago |
Damien
|
7b2d3f38ce
|
Implement some more operators, mostly for small ints.
|
11 years ago |
Damien
|
f086ecf57c
|
Shrink py_obj_base_t size to 4 machine words.
|
11 years ago |
Damien
|
df4b4f31ef
|
Make grammar rules const so the go in .text section.
|
11 years ago |
Damien
|
1595f3257e
|
Make rt_fun_table const, so it goes in .text section.
|
11 years ago |
Damien
|
5ac1b2efbd
|
Implement REPL.
|
11 years ago |
Damien
|
d2755ec538
|
Add iterators and comprehension to emitnative.
|
11 years ago |
Damien
|
c12aa468a1
|
Add SET_ADD opcode to VM.
|
11 years ago |
Damien
|
bd25445a82
|
Implement BC & runtime support for generator/yielding.
|
11 years ago |
Damien
|
c226dca1f7
|
Support tuples and list comprehension, albeit crude.
|
11 years ago |
Damien
|
ce89a21ea4
|
Implement basic exception framework, and simple for loop.
|
11 years ago |
Damien
|
3ef4abb446
|
Change ifdef/if defined to simple if's.
|
11 years ago |
Damien
|
c025ebb2dc
|
Separate out mpy core and unix version.
|
11 years ago |
Damien
|
a1ddfcc213
|
Wrap out-native code in preprocessor declarations.
|
11 years ago |
Damien
|
eb19efb27e
|
Simplify and improve function & method calling.
|
11 years ago |
Damien
|
7f5dacf345
|
Implement basic class/object in native code.
|
11 years ago |
Damien
|
a397776d6b
|
Implement basic class/object functionality in runtime.
|
11 years ago |
Damien
|
13ed3a658d
|
Native Python and Viper support for x64 and thumb all together.
|
11 years ago |
Damien
|
e4af64f307
|
Functions to convert values to/from inline asm.
|
11 years ago |
Damien
|
dc83382903
|
Make runtime able to call inline asm with 1 argument.
|
11 years ago |
Damien
|
826005c60b
|
Add support for inline thumb assembly.
|
11 years ago |
Damien
|
6cdd3af601
|
Implement built-in decorators to select emit type.
|
11 years ago |
Damien
|
b05d707b23
|
Further factorise PASS_1 out of specific emit code.
|
11 years ago |
Damien
|
429d71943d
|
Initial commit.
|
11 years ago |