Willing to at least look at it, given that it's Crockford. On first glance, I like the patterns. It's long past time that regex got replaced with something that looks less like line noise from an old dialup modem.
I worked on a Java codebase a while ago that had identifiers which were longer than 80 characters. Perfectly fine in our era of huge display bandwidth, but once upon a time, those identifiers would not have fit on a full-width display without wrapping; at an even earlier time one would have waited a noticeable amount of time for them to print out on a TTY. (and an earlier HN thread suggested that even in our era, tho…
The Misty Programming Language
41–50 of 50 posts
Re: The Misty Programming Language
#42Earlier quoted context omitted.
Can you recommend any learning material on XSLT that is not focused on the transform-XML-to-HTML use case?
It turns out XSLT is a trivial programming model (pattern match on the tree) with crazy aesthetics and a near-useless stdlib, which shipped a MVP called 1.0 and then got basically abandoned for json. It's a bit of a disaster of history really. There are newer and saner specifications out there which I am totally ignoring. A bit too much of the world is written in java but you can get xsltproc which is a tiny C progra…
Today I'd pick that option over actually using XSL anywhere - to me the only redeeming feature of XSL itself is/was the built-in support for applying XSL to XML in browsers (I worked on a web app ~2006 where XML was translated to HTML using XSL on the frontend, and you could turn off the server-side transformation and let the browser do it instead, which meant your source view was the underlying XML, which was very handy for debugging).
Re: The Misty Programming Language
#43Earlier quoted context omitted.
Copy-pasting Python code can easily end up in wrong indentation and broken code. Copy-pasting code in bracketed languages usually pastes and then auto-formats that section automatically.
Sure, but now you're perpetually stuck with the visual noise of unnecessary brackets _all_ the time. Maybe it's because I use vim, but I don't see this use case as terribly important because I can easily reindent with >> and << of a selection.
Re: The Misty Programming Language
#44Willing to at least look at it, given that it's Crockford. On first glance, I like the patterns. It's long past time that regex got replaced with something that looks less like line noise from an old dialup modem.
I worked on a Java codebase a while ago that had identifiers which were longer than 80 characters. Perfectly fine in our era of huge display bandwidth, but once upon a time, those identifiers would not have fit on a full-width display without wrapping; at an even earlier time one would have waited a noticeable amount of time for them to print out on a TTY. (and an earlier HN thread suggested that even in our era, tho…
Re: The Misty Programming Language
#45Do we need more new languages? Will AI need a number of languages to complete the the task?
Re: The Misty Programming Language
#46Crockford's RacketCon 2023 talk https://www.youtube.com/watch?v=vMDHpPN_p08 covers Misty (it's apparently specification-only so far) and is generally fun. Added: couple of previous submissions with a handful of comments https://news.ycombinator.com/item?id=38680087 https://news.ycombinator.com/item?id=38114122
Re: The Misty Programming Language
#47Re: The Misty Programming Language
#48Not this again. Please stop.
Code structure should be explicitly denoted with brackets or whatever. Code formatting is cosmetic, can be applied automatically, and serves as a 'double-entry book-keeping' type check on the structure coded in characters - ie you can easily spot structure errors by pretty-printing.
Re: The Misty Programming Language
#49show me the 3 simplest examples of rosettacode implemented in crockford's misty programming language
Re: The Misty Programming Language
#50to see how the language (likely) looks like, try this input into perplexity.ai : show me the 3 simplest examples of rosettacode implemented in crockford's misty programming language
use the documentation at https://www.crockford.com/misty/actors.html to show an actor code example