mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

#repl

1 post1 participant1 post today

Everyone: Python is weird, main starts with:
if __name__=="__main__":
main(sys.argv[1:])

Me, side-eye:
(unless (member (program-name) '("chez" "petit" "scheme")) ;; is REPL
(main (command-line-arguments))
)

#scheme #repl

(I also sometimes use (member "--run" (command-line-arguments)) or the like, but program-name is clearer.
Some Schemes call main if you use it as a command-line program, not with load or include, but Chez leaves that up to you. RnRS specs are silent on the issue.)

#ReleaseWednesday — Extracted & extended the LISP-like DSL from an existing #ThingUmbrella example[1] as new small package for better/direct re-use in other projects:

thi.ng/lispy

The core language is kept intentionally minimal, aimed at simple sandboxed data transformations/derivations, small code snippets/expressions in GUIs or config settings. However, the language is very easy to extend/customize with new functions or control flow constructs etc. Currently, the language is interpreted and has the following builtins (see screenshots). There's no macro support so far (and not sure if that's even desired here)...

[1] The original #HowToThing example browser REPL this was extracted from (and which has now been updated to use the new package):

demo.thi.ng/umbrella/lispy-rep

#ThingUmbrella #Lisp #DSL #FunctionalProgramming #REPL

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 #CommonLisp, not some unreadable #DSL you use in your #REPL. It's fine in the REPL, but not in libraries. Keep it clean. Simple courtesy.

Not pointing fingers, but everyone doing that shall be ashamed.

I just discovered Jshell, a Java REPL shell. It's like Python's interactive shell , but in Java ;-)

It's not new. Jshell was introduced in ... Java 9. Shame to me I only learn about it in Java 23!

asciinema.org/a/nKxwuTgFPEeHgL

asciinema.orgJshell 23.0.2 demoAre you aware you can now *script* Java ? Did you know Java has an interactive shell? Showing use of the shell, performing Base64 encoding/decoding, functions, completion etc.
#java#repl#shell

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) :)

kitten.small-web.org/reference

(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⁶.)

¹ small-tech.org
² sitejs.org
³ gohugo.io/
kitten.small-web.org
⁵ 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 kitten.small-web.org/reference).
codeberg.org/small-tech/jsdb

#Kitten#REPL#shell

So my question is, what's an intuitive way to use dropping-in- #fortran from the #lisp #repl ?
Reading a .f file ~ into a let* form which I'm currently doing seems kind of bland. #f( 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?

The fortran becomes #series expressions in lisp.

Despite ample evidence to the contrary, #Ilive (hmm, if I were also #evil, that would be a pallindrome as well as a visual collision)
Fascinating (if I do say so) #lispgames #gamejam #gamedev #retrospective on #itch_io
lispy-gopher-show.itch.io/lisp
I am enormously happy with the
{ verb [ dobj [ prep iobj ] ] } x
language dynamic, and how it shares your #lisp #repl, and their concerns are just... Different so they don't collide.
I guess I get my #languageDesign friends a little better now.
Thoughts?

itch.ioPrincess revisited - lispmoo2 by screwtape1. Post-jam jam game I'm satisfied by my post-jam lispmoo2. I mean, look at the jam game. { @create $room :named start-locn } x { @describe start-locn :as #:|A place of beginnings; try '{ north } x'|...

Another #pandoc #Lua #REPL tip: write the below Lua code to a file `panglob.lua` and call pandoc with
pandoc lua -l panglob -i
to make turn all pandoc functions into global variables. This allows to type `Pandoc('hi')` instead of `pandoc.Pandoc('hi')`.

for k, v in pairs(pandoc) do
_G[k] = v
end

Move `panglob.lua` to a directory in your LUA_PATH to make it accessible from everywhere.

There is a conference on Live Programming. It sound like a perfect fit for sharing our results on Guile Scheme IDE, which is more than 100% about live/interactive programming in Scheme language. Moreover, this event is not too academic, so I don't need to write a full-blown paper.

The only concern is that my USA visa is expired and getting a new one can take too much time :/

liveprog.org

My genuine thoughts: fuck those visas.

liveprog.orgWorkshop on Live Programming (LIVE)The Tenth Workshop on Live Programming (LIVE 2024) will take place in Los Angeles in conjunction with SPLASH 2024. LIVE invites submissions of ideas for improving the immediacy, usability, and learnability of programming.
#live#scheme#lisp