Activity for micropython

  • Sigurd Meldgaard committed [0e5ee4]

    test commit

  • Sigurd Meldgaard committed [cc6187]

    removed test file

  • Paolo Paolo committed [af3251]

    Add OpcodeList.txt file, that we wrote together.

  • Paolo Paolo committed [76bceb]

    First prototype of the 'interpreter-based compiler'. More work is needed, but it

  • Paolo Paolo committed [940eb3]

    Some additional notes.

  • Sigurd Meldgaard committed [6fe6cc]

    Added paper Optimizing direct threaded code by selective inlining

  • Paolo Paolo committed [29575f]

    Some changes, split opcode_handler.h away.

  • Paolo Paolo committed [eb6df6]

    Add the first paper on code-copying.

  • Sigurd Meldgaard committed [ffec51]

    Added paper Optimizing direct threaded code by selective inlining

  • Sigurd Meldgaard committed [cca7b8]

    New paper A survey of instruction dispatch techniques for byte-code interpreters (1996)-10.1.1.53.9849.pdf

  • Paolo Paolo committed [03b06c]

    Improve Makefile

  • Paolo Paolo committed [2eb49f]

    opcode_handler.h: change the type of stack pointer to int*, and fix the code for

  • Paolo Paolo committed [d57041]

    Commit today's work, not yet perfect (we do not skip over the code, and execute the inline invocation).

  • Paolo Paolo committed [a36532]

    Disable -O, add -Wall -W, try to make optimization-proof

  • Paolo Paolo committed [2c0185]

    Add 'tags' to .hgignore.

  • Paolo Paolo committed [02d0f1]

    Make code work even with optimizations, and enable them in the Makefile. There

  • Paolo Paolo committed [a109bb]

    Cleanup a lot more the code. Now we have a function which can either compile or

  • Paolo Paolo committed [c47fe7]

    Improve comment about asm volatile semantics and a likely gcc bug.

  • Paolo Paolo committed [9dac42]

    main.c: reindent code correctly, no code change (verified with 'hg diff -b').

  • Paolo Paolo committed [0205f9]

    Start generalizing a bit the code.

  • Paolo Paolo committed [b64116]

    Try fixing the previous problem. However, the called code still clobbers too

  • Paolo Paolo committed [fc9039]

    Go back to the original solution. NOTE THAT THIS IS NOT SAFE YET: we have to

  • Paolo Paolo committed [95d3ae]

    BINARY_PLUS -> BINARY_ADD

  • Paolo Paolo committed [e72588]

    Makefile: a few cleanups, add main.s target.

  • Paolo Paolo committed [176287]

    Add LABEL_BEGIN and LABEL_END macros to create our assembler labels for opcode

  • Paolo Paolo committed [4b89b4]

    Add documentation comments for LABEL_BEGIN and LABEL_END.

  • Paolo Paolo committed [bd1178]

    Add a 'bytecode' parameter to the interpreter, don't use it for now.

  • Paolo Paolo committed [889215]

    Move lots of utility code to util.h

  • Paolo Paolo committed [e2b6fa]

    * Update Makefile for util.h

  • Paolo Paolo committed [293adb]

    Slow down the code even more (not a lot, just microoptimization concerns) (didn't test it) by making it more genetic.

  • Paolo Paolo committed [959a39]

    Copy my version of the 1st handin into sample, to get ideas for the

  • Sigurd Meldgaard committed [24fe11]

    Added Sigurd's hand in and report for week 2

  • Sigurd Meldgaard committed [4b8b70]

    Added emacs indentation style hint to main.c

  • Sigurd Meldgaard committed [730ce3]

    Backed out changeset 4b8b70678273

  • Sigurd Meldgaard committed [4a125a]

    Corrected printf parameter type

  • Paolo Paolo committed [38c647]

    Paolo's version of the threading handin (week 1).

  • Paolo Paolo committed [ac4948]

    Makefile: change compilation flags, structure better.

  • Paolo Paolo committed [b0cdc2]

    main.c: some more experiments

  • Paolo Paolo committed [df9a6b]

    Makefile: disable linker script, allow user to specify additional CFLAGS.

  • Paolo Paolo committed [17fb3d]

    Make util.h work on both 32- and 64-bit platforms (this is about whether the

  • Paolo Paolo committed [cc506d]

    Make it compile on x86 (hopefully) and disable code copying.

  • Sigurd Meldgaard committed [88b29d]

    Commented out nonworking bit

  • Sigurd Meldgaard committed [2fa215]

    Added prototype compiler

  • Sigurd Meldgaard committed [cda981]

    Updated the compiler with constants, and outputting a human readble format

  • Paolo Paolo committed [80ea8b]

    util.h: the definition needs to be conditional on Linux, not on 32/64 bit.

  • Sigurd Meldgaard committed [62670e]

    merge

  • Sigurd Meldgaard committed [9174dc]

    made compiler executable

  • Sigurd Meldgaard committed [323ce8]

    made compiler print disassembly

  • Paolo Paolo committed [7c5a6c]

    main.c: parse compiler output

  • Paolo Paolo committed [ed879b]

    Not-so-simple testfile.

  • Paolo Paolo committed [125199]

    Simple testfile.

  • Paolo Paolo committed [a21abf]

    Add opcodes from Python 2.5 - the file has been converted to define its

  • Sigurd Meldgaard committed [4b3839]

    Added nlocals to the bytecode format

  • Paolo Paolo committed [c0db31]

    Merge

  • Sigurd Meldgaard committed [bd7414]

    Did more interpreter routines

  • Paolo Paolo committed [10b461]

    main.c: add more debugging (including opcode names), avoid placing the 'stack'

  • Sigurd Meldgaard committed [ab0485]

    added missing breaks

  • Sigurd Meldgaard committed [8c6798]

    test email

  • Sigurd Meldgaard committed [943428]

    removed test-file

  • Sigurd Meldgaard committed [880037]

    If you get this I have set the emailing up correctly

  • Paolo Paolo committed [ded5c8]

    Add stuff to .hgignore.

  • Sigurd Meldgaard committed [6b1b07]

    We can now run a simple while-loop (testwhile.py)

  • Sigurd Meldgaard committed [066b43]

    merge

  • Sigurd Meldgaard committed [8ad529]

    time a loop

  • Paolo Paolo committed [2d053f]

    Makefile: remove infamous UCFLAGS, just say, for instance:

  • Sigurd Meldgaard committed [046a77]

    merge

  • Sigurd Meldgaard committed [896df7]

    small corrections an testwhileimport

  • Sigurd Meldgaard committed [7d16b8]

    First support for threading, still not working

  • Sigurd Meldgaard committed [16422a]

    Off by one error for fetching corrected

  • Sigurd Meldgaard committed [fc1e6c]

    Added script for running the testwhile test to Makefile

  • Paolo Paolo committed [e16f64]

    Add the schedule we handed in to the repo as docs/schedule.pdf

  • Sigurd Meldgaard committed [d38923]

    merge

  • Paolo Paolo committed [e5e655]

    Various comment cleanups

  • Paolo Paolo committed [fec3d5]

    Remove unused for loops for N_ITERS and N_COPIES iterations, unused while(true)

  • Paolo Paolo committed [0a22dc]

    Merge

  • Sigurd Meldgaard committed [867e0a]

    Compiler.py, still work in progress

  • Sigurd Meldgaard committed [0dac4b]

    Changed program counter to a pointer (so it can point into any array of bytecodes.

  • Sigurd Meldgaard committed [3a972f]

    Renamed k to program_counter

  • Paolo Paolo committed [f0c949]

    Makefile: add missing newline at the end

  • Paolo Paolo committed [555b21]

    Makefile: allow disabling DEBUG with DEBUG= on cmd line

  • Paolo Paolo committed [e65601]

    * Convert the code parsing routines to use the new general structure.

  • Paolo Paolo committed [c9ec17]

    Remove the 'unitialized variable parameter' warning from GCC output, and ensure that if it is ever unitialized, we notice that (hopefully by a crash in most cases)

  • Paolo Paolo committed [40149c]

    Merge

  • Paolo Paolo committed [352a1e]

    main.c: allow using the same code for multiple opcodes again, add more opcodes

  • Paolo Paolo committed [3b7dcf]

    main.c, OpcodeList.txt: more opcodes and comments

  • Sigurd Meldgaard committed [07b3ba]

    Merge - still problems

  • Paolo Paolo committed [214fb8]

    Fix segmentation faults caused by mistakes with pointers - the result is still

  • Sigurd Meldgaard committed [3b71ff]

    Added function constants to the compiler

  • Paolo Paolo committed [cda0dd]

    main.c: read function constant pool, improve the behaviour on the example (i.e.

  • Paolo Paolo committed [e92b32]

    Fix bug in JUMP_IF_FALSE - it popped the top of the stack like Java but unlike

  • Paolo Paolo committed [adca02]

    Makefile: have "runtime" and "runtest" target (with and without NDEBUG).

  • Paolo Paolo committed [8c70bc]

    Remove debug printf's, cleanup code about PAGE_SIZE

  • Paolo Paolo committed [22d87b]

    Move various unused files (which may be needed again for code copying in the

  • Paolo Paolo committed [0f307a]

    main.c: remove inclusion of opcode_handler.h, since code-copying is disabled,

  • Paolo Paolo committed [5aa074]

    Cleanup Makefile - now the executables are no more called 'main', but 'interp'

  • Paolo Paolo committed [fb4150]

    Add and use SHOW debugging macro.

  • Sigurd Meldgaard committed [697c7d]

    added testlist.py

  • Sigurd Meldgaard committed [da9ff4]

    Added null at bottom of stack, removed prints from main.c.

  • Sigurd Meldgaard committed [3850e5]

    Initial pieces for the object model

  • Sigurd Meldgaard committed [b72f29]

    Improved Makefile with seperation of headers and other source files.

1 >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.