initial commit
by Wednesday, 10 August 2022
onThe first post on hēg denu.
Here's some code to look at.
#!/usr/bin/perl
chop($_=<>);@s=split/ /;foreach$m(@s){if($m=='*'){$z=pop@t;$x=
pop@t;$a=eval"$x$m$z";push@t,$a;}else{push@t,$m;}}print"$a\n";
The first post on hēg denu.
Here's some code to look at.
#!/usr/bin/perl
chop($_=<>);@s=split/ /;foreach$m(@s){if($m=='*'){$z=pop@t;$x=
pop@t;$a=eval"$x$m$z";push@t,$a;}else{push@t,$m;}}print"$a\n";
Got feedback on this post?
I'd love to hear from you!
Get in touch on Mastodon @hds@hachyderm.io or by email.