#Lisp
Explore tagged Tumblr posts
randointernetperson · 2 days ago
Text
Like I don't think I have any… I have been using scrips to do it automatically for years now, but what if… juuuust like what if there is like some paper some where form like 3 third grade where I was a lazy little foul…
Also sometimes I write lisp code soooooooooooo...
) <- super parenthesis. reblog to close all parentheticals you opened and forgot to close in your life and return to equilibrium
69K notes · View notes
cluedoenthusiast · 8 months ago
Text
mini lisp compilation [1, 2, 3?, 4]
137 notes · View notes
stickia404 · 4 months ago
Text
@janokenmun
Tumblr media
Ok so in Modded Minecraft there are really only 2 (maybe 3) "coding" mods, Computer Craft (Lua), Hex Casting (its own Esolang), and maybe Tis-3d (Assembly). And you have to use 1 of those 3 if you want to code in minecraft; and that's not bad. But it feels a bit limited.
So what if, I added a FUCKING LISP LIKE? Well, that means you would need to run lisp inside the JVM, and guess what I found? A (Mini) lisp that parses a string, and runs it (its called TinyLisp). But its missing a lot of the inbuilt OPs that Common Lisp has, so what do I do? I Make A Fucking Registry For Them. I'll clean them up later
Tumblr media Tumblr media
But I was getting sick of Copy, Paste, Clean up; Copy, Paste, Clean up; for the math functions. So I though, "hmm, I wonder if I could use a Lambda like thing for these". And well and behold, after an hour of fucking around, and finding out...
Tumblr media Tumblr media
I made this: Its a Class, that when registered, takes a BiFunction. And then when the Object of that class is called, it uses its BiFunction on every part of the supplied list, using a horrid loop-function method.
Tumblr media Tumblr media
I am so fucking proud of this, and after testing it a bit, it seems to work with all basic Math Methods (Add, Sub, Mult, Div). My fork of TinyLisp is not public (yet), but one day, after cleaning and optimizing it, I am planning to put it in a mod.
Tumblr media
28 notes · View notes
elizthacharchives · 8 months ago
Text
Lishp
by Elizabeth Thach
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
23 notes · View notes
ede917 · 1 year ago
Text
Attention Writers!
When writing dialogue for a snake character and giving them that classic hisss lisp just remember:
Not every s should be extended.
Don't just add extra s' to any word that has an s. For it to sound natural it needs to be given to words with the s sound.
Case in point: s and sh are two very different sounds. Normal s sounds place the tongue against the teeth, hence the hiss like lisp. Sh on the other hand has the tongue on the roof of the mouth and therefore would not make that same hisss.
In conclusion: s sssoundsss should have the hisss, while sh sssoundsss should not.
45 notes · View notes
kawaoneechan · 1 year ago
Text
I can't decide 🎵
Okay, let's have a good think about scripting languages that I might use in Project Special K. I wrote about this before, but really I'm just trolling for comments and suggestions.
Option 1 - Lua
Relatively easy to implement, especially with something like Sol on top.
Well known, often used for game scripts.
I have no earthly clue how to handle multiple objects running their own scripts simultaneously, let alone the whole "wait for some other object to signal back" that I described before.
Option 2 - JavaScript
Could be a nice challenge to implement, maybe with something like Duktape?
Well known, but not as often used for game scripts as Lua.
The third point is exactly the same as for Lua.
Option 3 - bespoke Lisp-like
Tricky to implement, but I've done it a bunch of times now to varying degrees.
Not as well known nowadays, I suppose, compared to JS and Lua.
I already know how to allow for cooperative multi-threading and waiting for other objects to finish, as described before. Just gotta implement the whole thing.
Option 4 - Event Flow
The script engine used in Animal Crossing New Horizons, Legend of Zelda Breath of the Wild and Tears of the Kingdom, and probably many other Switch games.
This option is a joke to make the list longer.
Obviously supports waiting for outside things.
Option 5 - Something else
Who knows, maybe one of you reading this has a better idea?
As a reminder of what I kept referring to, there would be several things running simultaneously like villagers, gift balloons, bugs, the hourly weather and chime thing, the player, and the UI. When you talk to a villager, they stop what they're doing and run a script. That script can then cause a dialogue box to appear by spawning in a new game object. The script should then sit and wait until the dialogue box is dismissed, all while the villager sits and waits until the script signals it's done, while the dialogue box and script can trigger animations to play on the villager and player alike... all while all these other objects still process in the background, and may themselves run scripts.
I'd rather not start on implementing something as in-depth as a script system, let alone with a feature such as that, without being certain it's not a very bad idea.
Doesn't need to be the best idea. Just not a very bad one.
52 notes · View notes
guix-official · 10 months ago
Text
Tumblr media
22 notes · View notes
yesterdays-xkcd · 1 year ago
Text
Tumblr media
Some say the world will end in fire; some say in segfaults.
With Apologies to Robert Forst [Explained]
Transcript
[A not-very-realistic view of the universe, in profile. To the left, a sectional view of the Earth, with its Moon and few clouds overhead, and a little Cueball standing, looking up. Extending to the right of the Earth, various stellar objects: some planets, some spaceships, another galaxy. Above them, on an artistically jagged white background, somewhat like a torn piece of paper, this text:] A God's Lament Some said the world should be in Perl; Some said in Lisp. Now, having given both a whirl, I held with those who favored Perl. But I fear we passed to men A disappointing founding myth, And should we write it all again, I'd end it with A close-paren. [To the right of the "various stellar objects", as if paired with the Earth at their left to bracket them, is a giant close parenthesis:] )
26 notes · View notes
lunar-leon · 2 years ago
Text
Tumblr media
Today I offer you humanstuck sollux wearing the goofiest t-shirts ever ... tomorrow? who knows....
118 notes · View notes
delimited-continuation · 8 months ago
Text
Tumblr media
8 notes · View notes
whisperthatruns · 9 months ago
Text
Tumblr media
Sam Sax, Pig (Scribner, 2023)
7 notes · View notes
cluedoenthusiast · 1 year ago
Text
tiny lisp
170 notes · View notes
stickia404 · 4 months ago
Text
Me, ranting:"Yea, the current Lisp Interpreter's systems are messy; they just take in raw objects then casts them to what should be the inputs, but this makes a lot of errors... It feels like there should be a better system for this"
My father, who does coding for a job: : ) "There's a thing call reflections-"
Me 10 minutes later: "oooohho noo, ohh no. non ono no. No. This is too cursed... But its what I need"
10 notes · View notes
enjamin-the-benitor · 9 months ago
Text
just something I was curious about
Specify what speech impediment in tags!!
(Reblog for reach)
9 notes · View notes
artofluffy · 1 year ago
Text
i am so tired of being infantilized because of my stutter and lisp
if one more person asks me to say “photosynthesis” i will actually scream
32 notes · View notes
Text
LLVM should've been written in lisp.
11 notes · View notes