one basic char instruction
This commit is contained in:
parent
4ad47b5308
commit
c17e0df4da
10
src/Instructions/CharInstructions.hs
Normal file
10
src/Instructions/CharInstructions.hs
Normal file
@ -0,0 +1,10 @@
|
||||
module Instructions.CharInstructions where
|
||||
|
||||
import State
|
||||
import Instructions.GenericInstructions
|
||||
|
||||
instructionCharConcat :: State -> State
|
||||
instructionCharConcat state@(State {_char = c1 : c2 : cs, _string = ss}) = state{_char = cs, _string = [c1, c2] : ss}
|
||||
instructionCharConcat state = state
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user