_hyperscript
_hyperscript[57] is a programming language that can be used in HTML files to implement interactive features like event handling. It also supports asynchronous operations like fetching data from a server by sending HTTP requests.
_hyperscript is based on the HyperTalk[58] language which was used in Apple’s HyperCard[59] application. According to Wikipedia, HyperCard “is among the first successful hypermedia systems predating the World Wide Web.”
Like HyperTalk, _hyperscript uses an English-like syntax. It emphasizes readability, but it may feel more difficult to write at first because the syntax is different from typical programming languages. It’s insensitive to whitespace, including indentation and newlines, which are typically ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access