improve reinit of interpreter

This commit is contained in:
Torsten Ruger 2015-11-10 19:28:31 +02:00
parent 1efa36ed4f
commit 93ff44bb6f
2 changed files with 1 additions and 10 deletions

View File

@ -3,14 +3,10 @@ ToDo
Some things that would be nice . . (if you did them :-) )
- starting to think that a simulator at the register machine level would help with testing
and debugging
- Better elf support. I think it should be relatively easy to produce an executable binary (so linking
could be skipped). Off course the possibility to link in another library would be nice
- utf8 support (string improvements generally)
- SOF parser
- more ruby grammar niceties. At the moment i am keeping it simple, so if there is a way around it
i won't implement it. Multi-assignments, all that chique where newline is used as statement demarcation
Or the list of things i am not even planning of tackling at the moment
@ -26,8 +22,6 @@ someone with funding.
I hope to get the multi-machine architecture done at some point as i also want to port to Arduino
Also i am starting to think an (register machine) interpreter would be a good idea for debugging.
Compliance
----------
@ -45,6 +39,3 @@ Very nice solutions exist for most of the important things. Like celluloid for c
good performance io with or without zero-mq. Fiddle looks nice admittedly.
Anyway, as i want to use gpio mostly the whole c wrapping is not too high on the list.
My first approach would be to monkey patch any gems where they dip into things we don't have.
Or copy/port them to a smaller version.

View File

@ -29,7 +29,7 @@ module Interpreter
end
def start instruction
@clock = 0
initialize
set_state(:running)
set_instruction instruction
end