donphan.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This generalist Mastodon server welcomes enthusiasts of the Pokémon franchise, to talk about it or anything else. Join the federation!

Server stats:

131
active users

#parsing

1 post1 participant0 posts today
Frontend Dogma<p>A Perplexing JavaScript Parsing Puzzle, by @hillelwayne.com:</p><p><a href="https://www.hillelwayne.com/post/javascript-puzzle/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hillelwayne.com/post/javascrip</span><span class="invisible">t-puzzle/</span></a></p><p><a href="https://mas.to/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a> <a href="https://mas.to/tags/parsing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parsing</span></a> <a href="https://mas.to/tags/history" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>history</span></a></p>
Paul McGuire<p>Some things I'm especially proud of in plusminus (my Python package for parsing and evaluating infix notation arithmetic):<br>- |absolute value| expressions<br>- ° symbol as a unary postfix operator, to convert degrees to radians: sin(π/2) vs. sin(90°)<br>- exponents ² and ³<br>- √ and ³√ operators (both unary and binary, so you can write 2√2)<br>- mathematical constants e, π, φ, and τ<br>- set operators ∈, ∉, ∩, and ∪<br>- safe eval of untrusted inputs <br>Try it at <a href="https://ptmcg.pythonanywhere.com/plusminus" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ptmcg.pythonanywhere.com/plusm</span><span class="invisible">inus</span></a><br><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://fosstodon.org/tags/parsing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parsing</span></a> <a href="https://fosstodon.org/tags/infix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>infix</span></a></p>
carlyn<p>Getting ready for the Decoder part, reviewing a few ways break up a String</p><p><a href="https://www.whynotestflight.com/excuses/wait-how-do-i-scan-text-again/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">whynotestflight.com/excuses/wa</span><span class="invisible">it-how-do-i-scan-text-again/</span></a></p><p>The RegExBuilder regex is surprisingly speedy in context!</p><p><a href="https://mastodon.social/tags/SwiftLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftLang</span></a>, <a href="https://mastodon.social/tags/parsing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parsing</span></a>, <a href="https://mastodon.social/tags/regex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>regex</span></a>, <a href="https://mastodon.social/tags/Scanner" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scanner</span></a>, <a href="https://mastodon.social/tags/RegExBuilder" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExBuilder</span></a></p>
Samantha (Horny arc) 🎀 🏳️‍⚧️ 🔞<p>I'll actually just make my recursive descent parser module a whole new project. I think it deserves that. Perhaps other people need to parse config files and want to use my kick-ass grammar for it. The code is found here:<br><a href="https://github.com/akyuute/mybar/blob/dev/mybar/parse_conf.py" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/akyuute/mybar/blob/</span><span class="invisible">dev/mybar/parse_conf.py</span></a></p><p><a href="https://eightpoint.app/tags/mybar" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mybar</span></a> <a href="https://eightpoint.app/tags/parsing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parsing</span></a> <a href="https://eightpoint.app/tags/compilerdesign" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>compilerdesign</span></a> <a href="https://eightpoint.app/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a></p>