TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Jisp – A programmable language that compiles to JavaScript

88 pointsby dkycover 10 years ago

13 comments

fake-nameover 10 years ago
How the heck is it &quot;terser&quot;? The &#x2F;example&#x2F; on that page is 23 lines&#x2F;555 chars to produce javascript that is 17 lines&#x2F;444 chars.<p>If you&#x27;re going to boast about &quot;terseness&quot; as a selling point, you should at least ensure your examples actually demonstrate that to be at all true.
评论 #8537410 未加载
ha292over 10 years ago
Prediction: it will die it&#x27;s natural death in 6 months.<p>&quot;Terser&quot; should not be a programming language selling point. &quot;Expressive&quot; yes.
评论 #8537425 未加载
评论 #8535807 未加载
Mitranimover 10 years ago
Language author here. I feel pretty stupid for what I wrote in the documentation. Commenters here are entirely right to bash it for claims of terseness on the syntax level because that&#x27;s not an advantage, just a questionable tradeoff.<p>I&#x27;m doing a complete rewrite with 0.4, overhauling the compiler&#x27;s architecture (the current version is fairly embarrassing) and dropping some dead-end ideas and Ruby influences. Mostly done, but moving slowly. If anyone&#x27;s interested, you&#x27;re welcome to PRs. :)
评论 #8537728 未加载
elwellover 10 years ago
Really? I would definitely expect this to be an equality test instead.<p><pre><code> ; assignment (name binding) (= myVar &#x27;myValue&#x27;)</code></pre>
rcarmoover 10 years ago
Personally, I find <a href="https://github.com/Gozala/wisp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Gozala&#x2F;wisp</a> to be a whole lot more coherent and readable (and probably more mature, too, even though it has much less documentation).<p>wisp also generates very nice JS code (and source maps), and my only real problem with it is that it lacks the time and resources ClojureScript clearly commands at this point.<p>(edited to add: wisp also has a fair amount of activity: <a href="https://gitter.im/Gozala/wisp" rel="nofollow">https:&#x2F;&#x2F;gitter.im&#x2F;Gozala&#x2F;wisp</a>)
jozi9over 10 years ago
How does it compare to ClojureScript?
评论 #8534747 未加载
评论 #8534556 未加载
评论 #8534455 未加载
ed0over 10 years ago
Interesting project, but I doubt it will gain any traction. It would be good to provide some kind of a runtime and a standard library.
leroy_masochistover 10 years ago
Apologize if this is a dumb question but is the point here to make a language that&#x27;s somewhat analogous to a stenographer typewriter or a Dvorak keyboard or something? In other words, you can write out new code in Jisp, then hit the compile button and it compiles to JS and you paste that into Sublime Text and you have thereby saved time?
评论 #8534797 未加载
评论 #8534495 未加载
Hello71over 10 years ago
I hope that the proliferation of JavaScript languages does not mean we need abandon the whole concept of &quot;HTML static pages&quot;.
aliakhtarover 10 years ago
You can do the same thing with Java using Google Web Toolkit: <a href="http://www.gwtproject.org/overview.html" rel="nofollow">http:&#x2F;&#x2F;www.gwtproject.org&#x2F;overview.html</a><p>It lets you write both server &amp; client code in java, and then the client code is compiled to highly optimized javascript.
评论 #8535949 未加载
davexunitover 10 years ago
Those macros look unhygienic, unfortunately.
评论 #8536143 未加载
评论 #8535364 未加载
iglover 10 years ago
no source maps? :( come on!
评论 #8534981 未加载
评论 #8534979 未加载
_random_over 10 years ago
The correct term is &#x27;transpilation&#x27;.
评论 #8535899 未加载