You are browsing as a guest. Sign up (or log in) to start making projects!

Chetan-boi

@Chetan-boi

Joined September 23rd, 2026

  • 1Devlogs
  • 1Projects
  • 0Ships
  • 0Votes
Open comments for this post

2h 3m 16s logged

Learning Shunting yard algorithms

I am making a calculator like CalcX and for that i need to find a way to teach computer PEDMAS

we think of
4 + 18/(9-3)
as
4 + 18 / 6
4 + 3
7

But how will a computer decided it??

Thats where the Shunting yard Algorithm comes.. it utilises stack and queue.. that soo lit

Qalc : MY inspiration

0
0
15

Followers

Loading…