improve reinit of interpreter
This commit is contained in:
parent
1efa36ed4f
commit
93ff44bb6f
9
ToDo.md
9
ToDo.md
@ -3,14 +3,10 @@ ToDo
|
|||||||
|
|
||||||
Some things that would be nice . . (if you did them :-) )
|
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
|
- 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
|
could be skipped). Off course the possibility to link in another library would be nice
|
||||||
- utf8 support (string improvements generally)
|
- utf8 support (string improvements generally)
|
||||||
- SOF parser
|
- 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
|
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
|
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
|
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.
|
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.
|
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.
|
|
||||||
|
@ -29,7 +29,7 @@ module Interpreter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def start instruction
|
def start instruction
|
||||||
@clock = 0
|
initialize
|
||||||
set_state(:running)
|
set_state(:running)
|
||||||
set_instruction instruction
|
set_instruction instruction
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user