Excited about this edition of #HyperTalk!
@vectro is playing one of his famous modular synth intro. @futurefonts has put together an exciting list of speakers again.
Excited about this edition of #HyperTalk!
@vectro is playing one of his famous modular synth intro. @futurefonts has put together an exciting list of speakers again.
I always get a bit cagey when people ask if #HyperTalk is like #AppleScript.
There's an inspiration there, but AppleScript jettisons one of the fundamental strengths of HyperTalk: that it's designed to account for human “flaws" and logic gaps and removes the need to think about certain advanced programming concepts, whereas AppleScript actually has that logical structure under the hood and just makes it implicit … until it isn’t and you get an error message and need to deal with it.
1/6
Next project I'm equally afraid and hyped about: re-implementing most of #HyperCard as #HTML form-based app. Requires:
- A working #HyperTalk (or the like) interpreter
- Card editing form that's flexible enough to build e.g. a calculator
- Script editing UI
- Smart evaluation that works well with old-school HTML-first UIs
- Server setup to handle all of these
Some of these are entirely new to me, and some don't have reasonable libs for in #CommonLisp, so I'm quite floored with the amount of work. But if I manage to make this thing, I'll have a reliable note-taking tool and a simple programming system!
(Now that I think about it, I don't really need a note-taking tool, because I use #hpda. And the simple programming system might as well be a headless HyperTalk interpreter...)
If you’re at the intersection (maybe not total) of interactive fiction, game exploration, HyperCard/HyperTalk, and graph theory, and have some fondness for Myst, this is clearly the article series for you.
https://glthr.com/myst-graph-1
/via @zarfeblong
#Myst #graph #HyperCard #HyperTalk #GameAnalysis #InteractiveFiction
Join me tomorrow morning at 9 AM Eastern for more #HyperCard and #HyperTalk coding. My solution for drawing isometric tiled game locations for my next version of Adventure!.
I'll be once again live streaming some #HyperCard programming this Saturday, Dec 7th at 9am Eastern. I'll be working on a #Linter for #HyperTalk.
Are you a #HyperCard master? Dream in #HyperTalk?
Show off your mastery with one of my t-shirts!
#HyperTalk text chunking and a tale of #HyperCard woe.
http://youtube.com/post/Ugkxfwv7R2GC8jaWkUZTGHruS6YngXGhrItB?si=mK0VUCK3c4FL48UE
So, aside for some questionable purchases recently whilst vintage shopping, I’ve been reinventing the wheel. Another questionable activity. It’s what I do.
I’ve been writing a SQL engine and query parser in #HyperTalk in #HyperCard called SQL-Like. Why? Why not? I have reasons I won’t go into here. See my posts and videos for more at https://youtube.com/@ericsedgevideos
1/3
Карсон Гросс, создатель HTMX
Карсон Гросс (Carson Gross) — профессор информатики из Монтаны, который неожиданно стал одним из самых ярких персонажей в индустрии веб-программирования последних лет. Он автор языка HyperScript и популярной библиотеки для фронтенда HTMX , позволяющей создавать сложные интерактивные сайты средствами HTML. Красивая альтернатива клиентскому рендерингу на JavaScript решает сразу несколько проблем современного веба, связанных с избыточной сложностью разработки и поддержки, производительностью и ожирением сайтов. Создавать сайты очень просто, тот же Хабр написал один программист , а не команда из сотен разработчиков и девопсов, как сейчас принято нанимать в интернет-компании. Многие веб-разработчики нашего времени выросли со знанием только одностраничных приложений SPA и фреймворков для них. Они начали свои карьеры с приложений на React.js, которые общаются с сервером Node через JSON API. Это настоящая трагедия, считает Гросс. Интерактивные приложения можно делать совершенно иначе.
https://habr.com/ru/companies/ruvds/articles/814193/
#ruvds_статьи #Карсон_Гросс #htmx #Hyperscript #груг #гипермедицные_системы #Рой_Филдинг #REST #RESTful #JSON #HypermediaDriven_Applications #HDA #SPA #React #UI #API #усталость_от_JavaScript #фронтенд #HyperTalk #HyperCard #HTMX 2 #веб_20 #Ajax
Oh, and I only just realized: ChatGPT didn’t concatenate the variable values with the string in the “send” command, it just made the variable *names* part of the string, so this code will actually not work. 😅
Update: FUCK ME! ChatGPT was right about that one, 'send’ actually works like 'do' in HyperTalk and even evaluates the variables it was given! I didn’t know that! WTF Dan Winkler! 💙
Playing with ChatGPT. As always, it is so close, but also so far away. The first is correct, and then it goes off into the weeds, because it uses a LiveCode command, not HyperTalk, and then claims it was in random versions of HyperCard. At least LiveCode is a superset of HyperTalk. But it keeps grabbing random non-HyperTalk syntax, even when I point out it shouldn’t (“wait with messages” is also not in HC).
But impressive that it gets this far.
From “HyperTalk 2.2: The Book” page 511.
#HyperCard #HyperTalk
Here’s the #HyperTalk script. I only have one twiddly knob, so decided to do vertical control by holding down shift for now. #HyperCard
Found hyperscript programming language. Instead of going to sleep (it's about 2 a.m. in my timezone), I am reading its documentation. That's really weird. But also really nice and interesting :)
--
#dev #webdev #hyperscript #js #javascript #smalltalk #hypertalk #hypercard
I hit the 30,000 character limit for a #HyperCard #HyperTalk script. Had to divide the script between the stack and the card. Time for bed.
My 18yo nephew asked me what my favorite #ProgrammingLanguage is and I don’t actually know the answer.
I *use* #C and #Go for applications. I write #Python for data munging and scripts and small apps. I’ve written many thousands of lines of each. I sponsor #Zig.
But is one of them my *favorite*?
I think my favorite would probably be something like #APL or #BQN or #Lisp or #Prolog or #PostScript or #Forth or #REXX or #Tcl or #Eiffel or #REBOL or #Oberon or #HyperTalk or #TutorialD or…
I still dream of finding a good syntax for if-expressions (as opposed to the statement form that already exists) for HyperCard.
Rust-style wouldn't be very English:
put if myCondition then 5 else 6 into myVar
But maybe something postfix like
put 5 if myCondition else 6 into myVar
But that still reads very badly. Too much complexity per line. Maybe the inherent complexity of an if-expression just violates the spirit of HyperTalk.
If you like(d) #HyperTalk, the scripting language used on Apple's #HyperCard, #hyperscript is almost the same thing for the web: https://hyperscript.org/
Simpler languages like #HyperTalk don't have this problem. They scan a source file for lines beginning with `on methodName` or `function methodName` and build your navigation from that, even when swaths of invalid code lie between them.
Similarly, properties are either built in, or part of the image, so there is an explicit creation/deletion step that doesn't allow for any temporarily invalid syntax.
Languages with a graphical editor like #Scratch or #Automator don't have that problem either.