Talk:Resistance calculator: Difference between revisions

→‎Shunting Yard: new section
(→‎Shunting Yard: new section)
Line 35:
==Picture==
--[[User:ChristerNilsson|ChristerNilsson]] ([[User talk:ChristerNilsson|talk]]) 15:46, 15 March 2019 (UTC) I would like the picture to be displayed directly, without being a link.
 
== Shunting Yard ==
 
--[[User:ChristerNilsson|ChristerNilsson]] ([[User talk:ChristerNilsson|talk]]) 16:02, 15 March 2019 (UTC)
I added a Nim solution for a better handling of infix input.
Ideally, the source code should not have to be recompiled for every new input.
Also, most of the code in Infix and RPN are identical. So, they might be merged.
 
Input change proposal:
* Infix: 2 + 3
* RPN: 2 3 +