Hi HN! I created a small stack-based programming language, which I'm using to solve Advent of Code problems. I think the forward Polish notation works pretty nicely.
Comments
pmdulaney•14m ago
Is there an advantage to using PN as opposed to RPN? Those of us used to Forth, PostScript, dc, might find it difficult to switch paradigms.
mgunyho•5m ago
PN makes it appear more like a traditional programming language on the surface, even if it's still read in a kind of strange way. So it might help spread the joy of stack languages by seeming more easily approachable. For me personally, RPN is still unfamiliar enough that this kind of PN feels more comfortable.
pmdulaney•14m ago
mgunyho•5m ago