<div dir="ltr"><div>Nope, this is a first. Though it probably would have happened anyway once I got around to trying out the emscripten backend for FreeBasic (which isn't even merged into trunk yet). (It appears to be really easy to call in both directions between functions written in normal javascript, and ones generated by emscripten from LLVM bitcode generated by clang from C generated by fbc from FB!)<br><br></div>We don't have any CSS yet though... I hear that's Turing complete!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 March 2017 at 03:20, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>This is cool an weird and cool :) I like it!<br><br></div>Does this increase the tally of how many languages are included in the repository, or did we already have some js somewhere ;)<br><br>---<br></div>James<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Mar 12, 2017 at 1:21 PM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On 13 March 2017 at 07:20,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2017-03-12 11:20:07 -0700 (Sun, 12 Mar 2017)<br>
515<br>
node_hsint.js commandline Javascript HamsterSpeak interpreter!<br>
<br>
This is an implementation of most of the commands in hamsterspeak.hsd<br>
and wrapper around zzo38's 'hspeakrt' HamsterSpeak interpreter.<br>
Pass it a .hs file, and it'll run the 'main' script.<br>
<br>
Also added a few more testcases to hstests.hss. And a couple other trivial changes.<br>
<br>
Note: I sent zzo38 several fixes; this won't run without them.<br>
(Even with them, hspeakrt still doesn't handle recursive subscripts correctly,<br>
but passes the rest of hstests.hss!)<br>
---<br>
U   wip/hamsterspeak.hsd<br>
A   wip/node_hsint.js<br>
U   wip/scriptcommands.bas<br>
U   wip/testgame/hstests.hss<br></blockquote><div><br></div></span><div>zzo38 uploaded a completely fixed version of hspeakrt, 2.0.0.<br><br></div><div>I was considering the possibility of writing a HS bytecode to JS translator for any eventual JS/wasm port of the OHR... so it's very nice that zzo38 has already done it for us!<br><br></div><div>I learnt most of what I know about javascript while writing this, and am actually really enjoying it. Expect me to start borrowing ideas from JS instead of python :)<br></div></div></div></div>
<br></div></div><span class="">______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
<br></blockquote></div><br></div>