<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2018-02-23 15:47 GMT+07:00 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="gmail-">
<br></span>
You don't need TMS WebCore for that. You just need to tell the compiler<br>
to create a source map, and upload the source map together with the program<br>
to the website. Then it will work automatically in the browser.<br></blockquote><div><br></div><div>Great news! It needs to be shown off! :) </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">This is something which should indeed be described in the WIKI, I will try<br>
to add something about it this weekend.</blockquote><div><br></div><div>Yes, please.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I hope the next FPC stable release would include pas2js binary so we can<br>
use it right out of the box.<br>
</blockquote>
<br></span>
That is our aim.<br></blockquote><div><br></div><div>Great!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">But the download of snapshots will get you a long way: (see wiki)<br>
<a href="http://wiki.freepascal.org/pas2js#Snapshots" rel="noreferrer" target="_blank">http://wiki.freepascal.org/pas<wbr>2js#Snapshots</a><br>
a binary for the most popular targets is available.</blockquote><div><br></div><div>I found 2 repos, one is yours Michael and the other is on ftpmaster. It seems that v.0.9 on ftpmaster requires FPC trunk, it fails to work with FPC stable, also missing some files (can't include rtl.js for instance). While yours can work with FPC stable. Is it correct? If it is, I hope next version would work with FPC stable. FYI, I'm now using pas2js with FPC v.3.0.4 on Linux Ubuntu.</div><div><br></div><div>My next question is… is it possible to create something like CRT unit to work on browser using pas2js? I'd like to see Pascal newbies be able to create classic Pascal program (with simple write/ln and read/ln calls) that works in the browser.</div><div><br></div><div>I have a project, just for fun. It's WebCRT unit and it's available on github here: <a href="https://github.com/pakLebah/webCRT">https://github.com/pakLebah/webCRT</a></div><div><br></div><div>If it's possible to create something similar to it working on browser, I'd like to try it. What do you think? Any hints or suggestions?</div><div><br></div><div>Thank you.</div><div><br></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><br><div><div>Regards,</div><div><br></div><div><br></div><div>–Mr Bee</div></div></div></div>
</div></div>