On Fri, 17 Mar 2017, Daniel Gaspary wrote:

On Fri, Mar 17, 2017 at 5:16 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
In fact, there is an alternate approach, transpiling pascal to Javascript.

It's much farther ahead than the webassembly target, already produces
programs running in the browser and the first web-based components are
already being developed using this approach.

What is the role of those components ?

You'll design a web app in the lazarus IDE (or Delphi IDE, for that matter).
The app will be compiled to Javascript.

Current thinking is that that there will be 2 "modes":
- "Free" Mode, where the CSS will determine the actual runtime look.
  The IDE will just create the DOM structure.
- "Exact" mode, where the app will look in the browser as it looks in the IDE.
the necessary CSS will be generated for this. In both modes of course the IDE and object inspector will be used to create
event handlers and whatnot in Pascal...

But this is all still under heavy development.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to