mirror of
https://github.com/russolsen/rforth
synced 2024-12-26 09:58:27 +01:00
Changed . to not print a newline, which is what it (doesnt) do in forth
This commit is contained in:
parent
f11b1c5438
commit
834406e9c1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class RForth
|
||||||
b = @stack.pop
|
b = @stack.pop
|
||||||
@stack << b / a
|
@stack << b / a
|
||||||
end
|
end
|
||||||
d.word('.') { @s_out.print( "#{@stack.pop}\n" ) }
|
d.word('.') { @s_out.print( @stack.pop ) }
|
||||||
d.word('.S') { @s_out.print( "#{@stack}\n" ) }
|
d.word('.S') { @s_out.print( "#{@stack}\n" ) }
|
||||||
d.word('.D') { pp @dictionary }
|
d.word('.D') { pp @dictionary }
|
||||||
d.word('cr') { @s_out.puts }
|
d.word('cr') { @s_out.puts }
|
||||||
|
|
Loading…
Reference in a new issue