lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

55
active users

#repl

1 post1 participant0 posts today
Large Language Tofu Model<p>The REPL-Driven Development workflow in Julia is a game-changer. 🚀</p><p>You can build and debug your application interactively, modifying a running program without restarting it. Perfect for a fast, productive feedback loop. <a href="https://fosstodon.org/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> <a href="https://fosstodon.org/tags/productivity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>productivity</span></a> <a href="https://fosstodon.org/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a></p>
Grigory Shepelev<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@snyssfx" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>snyssfx</span></a></span> <span class="h-card" translate="no"><a href="https://functional.cafe/@PaniczGodek" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>PaniczGodek</span></a></span> no <a href="https://fosstodon.org/tags/repl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repl</span></a>, no normal OOP (like common lisp's clos or clojure'alike), no clojure-alike multimethods, no clojure-alike spec, no lisp-alike pattern-matching, no java/jvm interop (need to write a lot of code again), no ability to do frontend (unlike clojurescript and many other lisp solutions) with it and no normal and supported ability to write Android apps (unlike say react native + cljs), no macroses (like all lisps)...<br>Um. What else? <br>I just can't take it seriously.</p>
Artyom Bologov<p>Planning to write a post on <a href="https://merveilles.town/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CommonLisp</span></a> <a href="https://merveilles.town/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> customization. Gathering state-of-the-art customizations. Remembered that I implemented native graphical debugger in <a href="https://merveilles.town/tags/Nyxt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nyxt</span></a> once (immortalized in Ndebug <a href="https://github.com/atlas-engineer/ndebug" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/atlas-engineer/ndeb</span><span class="invisible">ug</span></a>). Went to check on the current state of Nyxt-native debugging. </p><p>And yes, native debugger was removed too, much like many other signature features. Which might be a reason to hold a grudge about my work being erased, I guess? </p><p>But I'm more saddened about this exemplary REPL hacking piece gone missing, really. I want to point at good examples of custom REPLs in my new post... and there aren't many anymore 😢</p>
Paolo Amoroso<p>Eric Normand on REPL-driven development in Lisp and other languages:</p><blockquote><p>The REPL accelerates learning by increasing the speed and information richness of feedback.</p><p>[...]</p><p>Fast, rich feedback is essential to achieving a flow state.</p></blockquote><p><a href="https://ericnormand.substack.com/p/repl-driven-development-and-learning" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ericnormand.substack.com/p/rep</span><span class="invisible">l-driven-development-and-learning</span></a></p><p><a href="https://oldbytes.space/tags/repl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repl</span></a> <a href="https://oldbytes.space/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> <a href="https://oldbytes.space/tags/clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clojure</span></a></p>
Artyom Bologov<p>Who in the world though it a good idea putting their custom readtables into libraries intended for outside use? I don't want your hash table syntax, I want MINE. Don't pollute the readtable and other aspects of someone else's image if you're providing a library. The library you're making should be portable and clean <a href="https://merveilles.town/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CommonLisp</span></a>, not some unreadable <a href="https://merveilles.town/tags/DSL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DSL</span></a> you use in your <a href="https://merveilles.town/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a>. It's fine in the REPL, but not in libraries. Keep it clean. Simple courtesy.</p><p>Not pointing fingers, but everyone doing that shall be ashamed.</p><p><a href="https://merveilles.town/tags/theRant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>theRant</span></a></p>
Tomáš Znamenáček<p>I have a <a href="https://boskovice.social/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a> codebase that I would love to work with interactively, in a <a href="https://boskovice.social/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a>. What are my options?</p>
cryptax<p>I just discovered Jshell, a Java REPL shell. It's like Python's interactive shell , but in Java ;-)</p><p>It's not new. Jshell was introduced in ... Java 9. Shame to me I only learn about it in Java 23!</p><p><a href="https://asciinema.org/a/nKxwuTgFPEeHgLfBakhcpomSO" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">asciinema.org/a/nKxwuTgFPEeHgL</span><span class="invisible">fBakhcpomSO</span></a></p><p><a href="https://mastodon.social/tags/java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>java</span></a> <a href="https://mastodon.social/tags/repl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repl</span></a> <a href="https://mastodon.social/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://mastodon.social/tags/script" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>script</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/jshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jshell</span></a></p>
screwlisp<p><a href="https://mastodon.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.sdf.org/tags/commonLisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commonLisp</span></a> <a href="https://mastodon.sdf.org/tags/emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emacs</span></a> <a href="https://mastodon.sdf.org/tags/repl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repl</span></a> versus <a href="https://mastodon.sdf.org/tags/orgmode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>orgmode</span></a> for the <a href="https://mastodon.sdf.org/tags/fizzbuzz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fizzbuzz</span></a> challenge on <a href="https://mastodon.sdf.org/tags/medium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>medium</span></a>.<br>Using <a href="https://mastodon.sdf.org/tags/series" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>series</span></a> <a href="https://mastodon.sdf.org/tags/lazyEvaluation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazyEvaluation</span></a> <br><a href="https://medium.com/@screwlisp/fizzbuzz-battle-orgmode-versus-the-repl-for-lazy-lisp-series-an-emacs-story-b98f633a20d8" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">medium.com/@screwlisp/fizzbuzz</span><span class="invisible">-battle-orgmode-versus-the-repl-for-lazy-lisp-series-an-emacs-story-b98f633a20d8</span></a><br>I think it ended up pretty interesting, and what you would expect. The repl is a better interactive experience, but the noweb tangle optimizes in ways the separate repl lines can't, and is already in a disk-persisted file.</p><p>Looking forward to feedback and commentary ( @ksaj ;p)</p>
Aral Balkan<p>Your web server having an interactive shell (REPL) where you can live update entries in your site/app’s database is pretty neat (if I do say so myself) :)</p><p><a href="https://kitten.small-web.org/reference/#kitten-s-interactive-shell-repl" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitten.small-web.org/reference</span><span class="invisible">/#kitten-s-interactive-shell-repl</span></a></p><p>(I’m porting the Small Technology Foundation site¹ from Site.js² – and hence from being a static site generated via Site.js’s integrated Hugo³ – to Kitten⁴. In the process, I’m creating an admin panel⁵ for the news, events, and videos sections, which will make them easier to update, and storing the data in Kitten’s internal JavaScript Database⁶.)</p><p>¹ <a href="https://small-tech.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">small-tech.org</span><span class="invisible"></span></a><br>² <a href="https://sitejs.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">sitejs.org</span><span class="invisible"></span></a><br>³ <a href="https://gohugo.io/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">gohugo.io/</span><span class="invisible"></span></a><br>⁴ <a href="https://kitten.small-web.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a><br>⁵ It’s trivial to create authenticated routes in Kitten. You just add a lock emoji (🔒) to the end of your route’s name. e.g., admin🔒.page.js or /admin🔒/index.page.js (see <a href="https://kitten.small-web.org/reference/#sessions-and-authentication" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitten.small-web.org/reference</span><span class="invisible">/#sessions-and-authentication</span></a>).<br>⁶ <a href="https://codeberg.org/small-tech/jsdb" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/small-tech/jsdb</span><span class="invisible"></span></a></p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> <a href="https://mastodon.ar.al/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/database" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>database</span></a> <a href="https://mastodon.ar.al/tags/JavaScriptDatabase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScriptDatabase</span></a> <a href="https://mastodon.ar.al/tags/JSDB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JSDB</span></a> <a href="https://mastodon.ar.al/tags/SmallTechnologyFoundation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallTechnologyFoundation</span></a> <a href="https://mastodon.ar.al/tags/SiteJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SiteJS</span></a> <a href="https://mastodon.ar.al/tags/Hugo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hugo</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>
screwlisp<p>So my question is, what's an intuitive way to use dropping-in- <a href="https://mastodon.sdf.org/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a> from the <a href="https://mastodon.sdf.org/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> <a href="https://mastodon.sdf.org/tags/repl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repl</span></a> ?<br>Reading a .f file ~ into a let* form which I'm currently doing seems kind of bland. <a href="https://mastodon.sdf.org/tags/f" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>f</span></a>( this(1) = is(2) + a / fortran * line) seems kind of uninspiring (who would want to express themselves like this). Maybe Enter "fortran mode" and read lines of fortran from *standard-input* with normal interactive evaluation hacked in?</p><p>The fortran becomes <a href="https://mastodon.sdf.org/tags/series" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>series</span></a> expressions in lisp.</p>
futurile<p>Guix Social next Thursday (January 16th). There will be a talk by <span class="h-card" translate="no"><a href="https://fosstodon.org/@abcdw" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>abcdw</span></a></span> about his Guile Scheme IDE for Emacs, and the underlying Nrepl project that can be used by any editor. For all the details:</p><p><a href="https://www.meetup.com/guix-social/events/304634420/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/guix-social/events/</span><span class="invisible">304634420/</span></a></p><p>Andrew also has many other projects, including RDE an extension to Guix. Come along and ask him questions!</p><p><span class="h-card" translate="no"><a href="https://social.coop/@fnat" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>fnat</span></a></span> </p><p><a href="https://mastodon.social/tags/guix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>guix</span></a> <a href="https://mastodon.social/tags/guile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>guile</span></a> <a href="https://mastodon.social/tags/scheme" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scheme</span></a> <a href="https://mastodon.social/tags/repl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repl</span></a> <a href="https://mastodon.social/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> <a href="https://mastodon.social/tags/emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emacs</span></a> <a href="https://mastodon.social/tags/nrepl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nrepl</span></a></p>
musicmatze :rust: :nixos:<p>Why is there no <a href="https://social.linux.pizza/tags/neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>neovim</span></a> command to open a <a href="https://social.linux.pizza/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lua</span></a> <a href="https://social.linux.pizza/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> to interact with the neovim lua API?</p>
screwlisp<p>Despite ample evidence to the contrary, <a href="https://mastodon.sdf.org/tags/Ilive" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ilive</span></a> (hmm, if I were also <a href="https://mastodon.sdf.org/tags/evil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>evil</span></a>, that would be a pallindrome as well as a visual collision)<br>Fascinating (if I do say so) <a href="https://mastodon.sdf.org/tags/lispgames" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lispgames</span></a> <a href="https://mastodon.sdf.org/tags/gamejam" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamejam</span></a> <a href="https://mastodon.sdf.org/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.sdf.org/tags/retrospective" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrospective</span></a> on <a href="https://mastodon.sdf.org/tags/itch_io" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>itch_io</span></a> <br><a href="https://lispy-gopher-show.itch.io/lispmoo2/devlog/834615/princess-revisited" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lispy-gopher-show.itch.io/lisp</span><span class="invisible">moo2/devlog/834615/princess-revisited</span></a><br>I am enormously happy with the <br>{ verb [ dobj [ prep iobj ] ] } x<br>language dynamic, and how it shares your <a href="https://mastodon.sdf.org/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> <a href="https://mastodon.sdf.org/tags/repl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repl</span></a>, and their concerns are just... Different so they don't collide.<br>I guess I get my <a href="https://mastodon.sdf.org/tags/languageDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>languageDesign</span></a> friends a little better now.<br>Thoughts?</p>
Abhinav 🌏<p>Do you want to learn how to create beautiful and useful <a href="https://fantastic.earth/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> for your <a href="https://fantastic.earth/tags/ProgrammingLanguages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ProgrammingLanguages</span></a> written in <a href="https://fantastic.earth/tags/Haskell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Haskell</span></a>? I wrote a Haskeline tutorial just for you: <a href="https://abhinavsarkar.net/posts/repling-with-haskeline/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">abhinavsarkar.net/posts/replin</span><span class="invisible">g-with-haskeline/</span></a><br><a href="https://fantastic.earth/tags/blog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blog</span></a> <a href="https://fantastic.earth/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Paolo Melchiorre<p>Python 3.13 has been released 🚀</p><p>Python 3.13 is the latest stable release of the Python programming language, with a mix of changes to the language, the implementation and the standard library. 🐍</p><p>The biggest changes include:<br>- a new interactive interpreter<br>- experimental support for running in a free-threaded mode<br>- a Just-In-Time compiler</p><p>Read "What’s New In Python 3.13" 👇<br><a href="https://docs.python.org/3/whatsnew/3.13.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">docs.python.org/3/whatsnew/3.1</span><span class="invisible">3.html</span></a></p><p><a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> <a href="https://fosstodon.org/tags/Thread" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Thread</span></a> <a href="https://fosstodon.org/tags/JIT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JIT</span></a></p>
Aral Balkan<p>Just added basic server/process stats to Kitten’s interactive shell (REPL).</p><p>Use the new `.stats` command to see them.</p><p>Also, documented the shell better in the Kitten Reference:</p><p><a href="https://kitten.small-web.org/reference/#kitten-s-interactive-shell-repl" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitten.small-web.org/reference</span><span class="invisible">/#kitten-s-interactive-shell-repl</span></a></p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> <a href="https://mastodon.ar.al/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a></p>
Paolo Melchiorre<p>Łukasz Langa is giving the closing keynote of the EuroPython 2024 conference, entitled "Live coding music with PyREPL in Python 3.13" in Prague 🇪🇺🐍</p><p>Info 👇<br><a href="https://ep2024.europython.eu/session/live-coding-music-with-pyrepl-in-python-3-13" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ep2024.europython.eu/session/l</span><span class="invisible">ive-coding-music-with-pyrepl-in-python-3-13</span></a></p><p><a href="https://fosstodon.org/tags/EuroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EuroPython</span></a> <a href="https://fosstodon.org/tags/EuroPython2024" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EuroPython2024</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> <a href="https://fosstodon.org/tags/Music" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Music</span></a></p><p>CC <span class="h-card" translate="no"><a href="https://fosstodon.org/@europython" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>europython</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@ambv" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ambv</span></a></span></p>
pandoc<p>Another <a href="https://fosstodon.org/tags/pandoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pandoc</span></a> <a href="https://fosstodon.org/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> <a href="https://fosstodon.org/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> tip: write the below Lua code to a file `panglob.lua` and call pandoc with<br> pandoc lua -l panglob -i<br>to turn all pandoc module functions into global variables. This allows to type `Pandoc('hi')` instead of `pandoc.Pandoc('hi')`.</p><p> for k, v in pairs(pandoc) do<br> _G[k] = v<br> end</p><p>Move `panglob.lua` to a directory in your LUA_PATH to make it accessible from everywhere.</p>
Aral Balkan<p>w00t! 🎉 <a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> now has a shiny new…</p><p>kitten shell</p><p>…command you can use to connect to your Kitten daemon in production to debug it, etc.</p><p>Also, I don’t know if I missed something simple but I had a hard time handling Node’s <a href="https://mastodon.ar.al/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a> preview completions over a socket connection. Couldn’t find any docs. Managed to fix it by implementing a control channel to communicate the remote client’s terminal size. Wrote it up here, in case it helps anyone else:</p><p><a href="https://codeberg.org/aral/gists/src/branch/main/node-js-repl-over-socket-with-preview-completions.md" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/aral/gists/src/br</span><span class="invisible">anch/main/node-js-repl-over-socket-with-preview-completions.md</span></a></p><p> :kitten:💕 </p><p><a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>
Aral Balkan<p>You can now connect to the interactive shell (REPL) of a Kitten daemon running in production by sshing into your machine and running:</p><p>telnet 127.0.0.1 1337</p><p>(Or nc 127.0.0.1 1337 if you prefer. Basically, it is available from port 1337 on the local loopback address.)</p><p>In development mode, you can press the s key to start up an interactive shell.</p><p>:kitten:💕</p><p><a href="https://codeberg.org/kitten/app" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/kitten/app</span><span class="invisible"></span></a></p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/REPL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>REPL</span></a></p>