[Lazarus] Proud to announce..

silvioprog silvioprog at gmail.com
Tue Dec 4 23:11:01 CET 2018


On Tue, Dec 4, 2018 at 7:01 PM Michael Van Canneyt via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> Hello !
>
> If anyone still doubted that Object Pascal is the best programming
> language,
> running on the most platforms:
>
> It is with considerable pride that I can announce a new major milestone
> has
> been reached in Free Pascal's pas2js story:
>
> The pas2js compiler runs now embedded in the browser itself.
>
> A picture says more than a thousand words, see attachment.
>
> See it in action for yourself:
>
> https://idefix.freepascal.org/~michael/webcompiler/webcompiler.html
>
> How does it work ?
> 1. Enter the source of your program.
> 2. Load the necessary units on the 'load units' tab.
>    (The "Load default units" button is a good start)
> 3. Hit "Compile" !
> 4. Observe the output of the compiler in the tab "Compiler output"
> 5. If all went well, the 'Run' button is now active...
> 6. Press the 'Run' button !
>
> The program will be loaded & run in an IFrame at the bottom of the page.
>
> Obviously, this is only a demo, and there is ample room for improvement
> (specifying additional options, viewing generated source code, improving
> gui)
> and you don't have all units available: only the ones in 'rtl' have been
> made available. (it's just a matter of uploading them)
>
> But it works. No server interaction other than loading the extra needed
> unit sources is necessary: all is done in the browser.
>
> All code is committed in SVN, demo/webcompiler.
>
> Last but not least:
> Once more I want to thank Mattias Gaertner for his incredible work on the
> compiler, without whose solid foundations I would not have been able to do
> this
> !
>
> Enjoy, and stay tuned for more wonderful features & cutting edge
> technology
> from the people that bring you Free Pascal & Lazarus !
>
> Michael.


Awesome news! Thanks for this incredible work. ☺

Can we use it for online tests to report bugs via Mantis? (something like
JSFiddle)

Anyway, thanks a lot for sharing it!

-- 
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20181204/296027d3/attachment.html>


More information about the Lazarus mailing list