assure bytes are stored in the bytecode field

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Need to import std_print functions since they are not class methods anymore

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Change lookup of Symbol and Bytecode names to use constants

- they used metaprogramming before, but that does not seem to work.
- RPython gives me 'operation cannot succeed' and conflicting types for variables if I try to change the code slightly
-> will just use simple constants instead, less maintainable but it works

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Changed interpreter dispatch table to use a tuple instead of a list

RPython complained about not being able to determine a unique name for the function pointers, using a tuple doesn't cause this warning anymore.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Replace dispatch table with simple if:elif:

Changing to a tuple didn't did not solve the issue that RPython could not find a unique name for those function pointers. Now the traditional approach.
This also allows us to get rid of the exception for the HALT bytecode.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
RPython does not like the access of tuples with variable indexes

- converted tuples to lists

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Merge branch 'experiments/pypysom' of https://github.com/smarr/PySOM into experiments/pypysom

* 'experiments/pypysom' of https://github.com/smarr/PySOM:
  RPython does not like the access of tuples with variable indexes
  Replace dispatch table with simple if:elif:
  Changed interpreter dispatch table to use a tuple instead of a list
  Change lookup of Symbol and Bytecode names to use constants
  Need to import std_print functions since they are not class methods anymore
  assure bytes are stored in the bytecode field