Hacker News new | ask | show | jobs
by deniz-a 1886 days ago
Thankfully, we have arithmetic expressions :]

Every command has an initial verb, which makes parsing easier (both by computer, and hopefully by people). Just for fun, here are your examples in hyperscript:

    get numA / numB then put it into resDiv
    -- or simply
    set resDiv to numA / numB
    
    repeat 5 times index loopCount
      log loopCount
    end
1 comments

Ah, very cool. Thanks for sharing the hyperscript examples.