index.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. layout: default
  3. title: Jtalk Smalltalk
  4. ---
  5. <div class="box first">
  6. <div class="content">
  7. <h1><img alt="Jtalk is an implementation of the Smalltalk language that runs on the JavaScript runtime." src="images/title_container1.png"/></h1>
  8. <div class="left">
  9. <p>Jtalk is an implementation of the <a href="http://en.wikipedia.org/wiki/Smalltalk">Smalltalk</a> language that runs on top of the <a href="http://en.wikipedia.org/wiki/Javascript">JavaScript</a> runtime. It is designed to make client-side development faster and easier.</p>
  10. <p>Jtalk is written in itself, including the parser and compiler. Jtalk compiles into efficient JavaScript, mapping one-to-one with the equivalent JavaScript. There is no interpretation at runtime.</p>
  11. <p>Try a <button onClick="smalltalk.Browser._open()"> Class browser</button> right now!</p>
  12. <script type="text/javascript">
  13. /* <![CDATA[ */
  14. (function() {
  15. var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
  16. s.type = 'text/javascript';
  17. s.async = true;
  18. s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
  19. t.parentNode.insertBefore(s, t);
  20. })();
  21. /* ]]> */
  22. </script>
  23. <p>You can join the <a href="http://groups.google.com/group/jtalk-project"> Google Group</a> or the #jtalk IRC channel on freenode.</p>
  24. <a class="FlattrButton" style="display:none;" rev="flattr;button:compact" href="http://jtalk-project.org"></a>
  25. <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="NicolasPetton">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  26. </div>
  27. <div class="right"><img src="images/screen2.png"/></div>
  28. <div class="clear"></div>
  29. </div>
  30. </div>
  31. <div class="box">
  32. <h2>Client-side usage</h2>
  33. <div class="content">
  34. <p>Load the full Jtalk Smalltalk environment with the IDE in your page:</p>
  35. {% highlight html %}<script src="js/jtalk.js" type="text/javascript"></script>
  36. <script type="text/javascript"> loadJtalk()</script>{% endhighlight %}
  37. <p>Or the deployment JavaScript file only (without the Smalltalk sources, parser, compiler and IDE):</p>
  38. {% highlight html %}<script src="js/jtalk.js" type="text/javascript"></script>
  39. <script type="text/javascript"> loadJtalk({deploy: true})</script>{% endhighlight %}
  40. <p>Read the <a href="#documentation">documentation</a> to learn more about writing applications in Jtalk.</p>
  41. </div>
  42. </div>
  43. <div class="box last">
  44. <h2 id="download">Download</h2>
  45. <div class="content">
  46. <p>You can get a copy of Jtalk from github or clone the <a href="http://github.com/NicolasPetton/jtalk">git repository</a>.</p>
  47. <a href="http://github.com/NicolasPetton/jtalk/zipball/master">
  48. <img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
  49. <a href="http://github.com/NicolasPetton/jtalk/tarball/master">
  50. <img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
  51. </div>
  52. </div>