fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#PrettyPrinting

0 posts0 participants0 posts today
John Lewis<p>Yet another online JSON pretty printer: <a href="https://jsonp.org/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jsonp.org/</span><span class="invisible"></span></a></p><p><a href="https://social.treehouse.systems/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a> <a href="https://social.treehouse.systems/tags/leptos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>leptos</span></a> <a href="https://social.treehouse.systems/tags/json" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>json</span></a> <a href="https://social.treehouse.systems/tags/PrettyPrinting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PrettyPrinting</span></a> <a href="https://social.treehouse.systems/tags/formatting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>formatting</span></a></p>
screwlisp<p><a href="https://mastodon.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.sdf.org/tags/techDiscussion" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>techDiscussion</span></a> of <a href="https://mastodon.sdf.org/tags/commonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commonLisp</span></a> on <a href="https://mastodon.sdf.org/tags/itch_io" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>itch_io</span></a> .<br><a href="https://lispy-gopher-show.itch.io/moonclimb/devlog/791188/what-we-get-out-of-lisp" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lispy-gopher-show.itch.io/moon</span><span class="invisible">climb/devlog/791188/what-we-get-out-of-lisp</span></a></p><p>: A short pamphlet about what I think you get out of lisp. Namely <a href="https://mastodon.sdf.org/tags/loop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>loop</span></a> <a href="https://mastodon.sdf.org/tags/format" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>format</span></a> <a href="https://mastodon.sdf.org/tags/clim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>clim</span></a> <a href="https://mastodon.sdf.org/tags/clos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>clos</span></a> <a href="https://mastodon.sdf.org/tags/conditions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>conditions</span></a> ie <a href="https://mastodon.sdf.org/tags/iteration" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iteration</span></a> <a href="https://mastodon.sdf.org/tags/prettyPrinting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prettyPrinting</span></a> <a href="https://mastodon.sdf.org/tags/GUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GUI</span></a> <a href="https://mastodon.sdf.org/tags/oop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oop</span></a> <a href="https://mastodon.sdf.org/tags/notCrashing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>notCrashing</span></a></p><p>When I remember how to get any of my tildes back I will gopher the org doc.</p>
screwlisp<p><a href="https://mastodon.sdf.org/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> <a href="https://mastodon.sdf.org/tags/Mastoquestions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mastoquestions</span></a> <a href="https://mastodon.sdf.org/tags/prettyPrinting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prettyPrinting</span></a><br>So I do want to pretty print some forms, but I don't want the "oh this is a when form" pretty printing. What to do?<br>(princ '((when the first atom is when this happens)))<br>(princ '((but otherwise this happens))<br>*but imagine these forms are really long</p>
Jörg Preisendörfer<p><span class="h-card"><a href="https://functional.cafe/@phoe" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>phoe</span></a></span> </p><p>Note that the <a href="https://mastodon.social/tags/PrettyPrinting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PrettyPrinting</span></a> dispatch tables of <a href="https://mastodon.social/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> conceptionally are a <a href="https://mastodon.social/tags/GenericFunction" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GenericFunction</span></a> with <a href="https://mastodon.social/tags/ParametricDispatch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ParametricDispatch</span></a>.</p><p>The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.</p><p>(Unfortunatly, the canonical, <a href="https://mastodon.social/tags/ProofOfConcept" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ProofOfConcept</span></a> implementation of PP by <a href="https://mastodon.social/tags/RichardWaters" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RichardWaters</span></a> is one single convoluted mess; basically a negative example of software design, even by standards of its time.)</p><p>🌺 </p><p>🏷️ <a href="https://mastodon.social/tags/Lisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lisp</span></a> <a href="https://mastodon.social/tags/Scheme" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scheme</span></a> <a href="https://mastodon.social/tags/CLOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CLOS</span></a> <a href="https://mastodon.social/tags/AMOP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AMOP</span></a> <a href="https://mastodon.social/tags/MetaObject" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MetaObject</span></a> <a href="https://mastodon.social/tags/MetaObjectSystem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MetaObjectSystem</span></a></p>
Jörg Preisendörfer<p>On <a href="https://mastodon.social/tags/Friendica" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Friendica</span></a>:</p><p>›The extended form of the Common Lisp &lt;loop&gt; macro as a Controlled Natural Language (CNL)‹</p><p>🔗 <a href="https://libranet.de/display/0b6b25a8-1963-a776-9fb1-d9c503592537" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">libranet.de/display/0b6b25a8-1</span><span class="invisible">963-a776-9fb1-d9c503592537</span></a></p><p>🌺 </p><p>🦎 <a href="https://t.me/FamilyOfLisp" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">t.me/FamilyOfLisp</span><span class="invisible"></span></a></p><p>🏷️ <a href="https://mastodon.social/tags/InterLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>InterLisp</span></a> <a href="https://mastodon.social/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> <a href="https://mastodon.social/tags/ControlledNaturalLanguage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ControlledNaturalLanguage</span></a> <a href="https://mastodon.social/tags/DylanLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DylanLang</span></a> <a href="https://mastodon.social/tags/ELSConf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ELSConf</span></a> <a href="https://mastodon.social/tags/VIM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>VIM</span></a> <a href="https://mastodon.social/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> <a href="https://mastodon.social/tags/PrettyPrinting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PrettyPrinting</span></a> <a href="https://mastodon.social/tags/functional" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>functional</span></a> <a href="https://mastodon.social/tags/hashtable" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashtable</span></a> <a href="https://mastodon.social/tags/iteration" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iteration</span></a> <a href="https://mastodon.social/tags/loop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>loop</span></a> <a href="https://mastodon.social/tags/dotimes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotimes</span></a> <a href="https://mastodon.social/tags/dolist" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dolist</span></a> <a href="https://mastodon.social/tags/maphash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maphash</span></a> <a href="https://mastodon.social/tags/map" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>map</span></a> <a href="https://mastodon.social/tags/with%C2%B7hashtable%C2%B7iterator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>with·hashtable·iterator</span></a> <a href="https://mastodon.social/tags/Scheme" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scheme</span></a> <a href="https://mastodon.social/tags/Macro" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Macro</span></a> <a href="https://mastodon.social/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a> <a href="https://mastodon.social/tags/ControlledNaturalLanguage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ControlledNaturalLanguage</span></a> <a href="https://mastodon.social/tags/CNL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CNL</span></a> <a href="https://mastodon.social/tags/ComputerAidedProgramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ComputerAidedProgramming</span></a> <a href="https://mastodon.social/tags/CAP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CAP</span></a></p>
J✦rg Pre✦send✦rfer 🇪🇺🏳️‍🌈<p>The extended form of the Common Lisp &lt;loop&gt; macro</p><p><a href="https://libranet.de/display/0b6b25a8-1963-a776-9fb1-d9c503592537" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">libranet.de/display/0b6b25a8-1</span><span class="invisible">963-a776-9fb1-d9c503592537</span></a></p>