_hyperscript – an async-transparent scripting langauge for the web
_hyperscript – an async-transparent scripting langauge for the web
Hi Folks, We have been working on an experimental front end programming langauge, hypescript, as a companion project for htmx. https://hyperscript.org/ Its syntax is based loosely on HyperTalk, the scripting language for HyperCard. It has some feature that the HN crowd might find interesting: Async-transparency - as much as possible, the runtime tries to hide the distinction between synchronous and asynchronous code https://hyperscript.org/docs/#promises https://hyperscript.org/docs/#async Event driven - events are treated as first class citizens, including event-based control flow https://hyperscript.org/docs/#event-control-flow CSS Literals - you can refer to elements in the DOM directly with syntax like #foo, .bar and <button/> on click add .highlight to <button:not([disabled])/> Extendable language - the parser is pretty open and flexible, allowing you to add new "commands" (statements) to the language https://hyperscript.org/docs/#extending Integrated Debugger - the language has a (very alpha) integrated debugger https://hyperscript.org/docs/#debugging Inline Web Workers - the ability to define a web worker directly in your page https://hyperscript.org/docs/#workers There's a fair bit of other stuff too, SSE and Websocket support, a slew of useful commands for working with the DOM, etc. This is very early, 0.0.6, so please be gentle, but it is being used in a few places in production. I used it to make the / key jump to the search box on htmx.org, for example.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
_hyperscript – an async-transparent scripting langauge for the web
Progressive and Transparent Lotteries on Ethereum
A UIImageView subclass that ignores touches on transparent pixels
Germany's transparent platform for graduate schemes.
JPEllucent - lossy transparent image compression for the web
Cachely, a transparent method level cache w/ Redis for Ruby
Generate transparent video
Make your company more transparent
Transparent Replication and Persistence for POJO Graphs
LLMFlows – LangChain alternative for explicit and transparent apps