[Pas2js] Pas2js Digest, Vol 14, Issue 11

Stephen Wright stephenmichaelwright at yahoo.co.uk
Tue Feb 19 14:07:23 CET 2019


 Hi Guys
On Tue, 19 Feb 2019, Mr Bee via Pas2js wrote:……> Make pas2js beginner friendly, ….easy to install ……no dependency to external tools …….easy to develop … simple web app, ……. and most importantly mobile web app.
We have been working on these aspects of Pas2JS for a while now.  I have to say that PAS2JS has been superb to work with, but we have been a little quiet about it and our work with it as we want to make sure our contribution is a genuine help before taking up other peoples time.
Our idea is that you should be able to load a simple IDE for PAS2JS as a web page in your browser so that it just works out of the box. We then think that any program developed in this IDE should also run in Chrome/Linux/Windows or Android without requiring any change whatsoever. 
In order to keep the code footprint as low as possible we have restricted the layout options available and based the system on the set of standard HTML controls (with a few additions where necessary). This also makes the system easy to use once you get the idea. 
We were planning to do an updated demo, but got distracted by doing some SVG and GPU examples instead. We have now got to the point where we need to discuss how this fits in with what other people are doing so will put a demo up soon.
Regards Steve


    On Tuesday, 19 February 2019, 11:00:46 GMT, pas2js-request at lists.freepascal.org <pas2js-request at lists.freepascal.org> wrote:  
 
 Send Pas2js mailing list submissions to
    pas2js at lists.freepascal.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
or, via email, send a message with subject or body 'help' to
    pas2js-request at lists.freepascal.org

You can reach the person managing the list at
    pas2js-owner at lists.freepascal.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pas2js digest..."


Today's Topics:

  1. Re: We need help ! (Mr Bee)
  2. Re: We need help ! (Michael Van Canneyt)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Feb 2019 03:42:07 +0000 (UTC)
From: Mr Bee <pak.lebah at yahoo.com>
To: pas2js discussions <pas2js at lists.freepascal.org>
Subject: Re: [Pas2js] We need help !
Message-ID: <1509311209.1389588.1550547727715 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

My huge thank goes to 2 people who working on pas2js. I suppose they are Mattias and Michael. Thank you very much for your great and hard work. pas2js is something I've wanted since I knew Morfik.
You don't need to worry about spreading the word. Everytime pas2js announces something interesting and significant, I've always been helping promote it everywhere on the internet. I promote it in my local pascal facebook group, in my local pascal telegram group, in my social media accounts, etc.
However, pas2js is still very new and under heavy development. For an end user like me, it's quite hard to keeping track of what's going on. I'd like to help but I don't know what I've to do and how to do it. So, for now I just keep watching and playing around with the demos.
I plan to create the classical Graph unit for pas2js based on HTML's canvas, but I still couldn't work on it due to my daily work (plus some of my other hobbies). If I have enough knowledges, I also would like to create CRT unit so we could create a console app that works on browser such as this: https://swift.beejay.repl.run
Just a little suggestion about future of pas2js. Most developers today think mobile first, even when they're making web apps. I hope pas2js seriously consider this need and provide a solution immediately. Make pas2js beginner friendly, the first thing is to make it something that is easy to install (straight forward installer, no dependency to external tools such as fpc or lazarus, default config that just works) and easy to use (includes some instruction to use in various editors such as vs code, notepad++, etc; technical documentation that can only be provided by pas2js authors such as available units and classes, pas2js languages and syntaxes, pas2js vs pascal comparation such as with fpc or delphi, importing external js tools and frameworks, etc).
If it's easy to install and used, the next step is to make it easy to develop something (either simple web app, canvas web app, "console" web app, and most importantly mobile web app). They're the main barriers for new users. Once it's provided, users will able to help provide examples and demos, tutorials, even documentations.
I wish I have more time to play around with pas2js and contribute something that really benefecial to everyone.
Regards,

–Mr Bee
 

    Pada Selasa, 19 Februari 2019 06.19.25 WIB, Michael Van Canneyt <michael at freepascal.org> menulis:  
 
 
Hello,

The transpiler is growing to a more mature compiler with every release.
There are 2 major 'modern' language features missing: Attributes and Generics
(implying operator overloading).

However, the transpiler by itself is not enough. A bigger ecosystem is desirable.
To make pas2js a success story, we need some help to make it grow and spread
the word.

Currently, there are essentially 2 people working on this in a concerted effort. 
I am aware of some efforts to make widgetsets, but those are long-term goals.
Short term, there are also plenty of small things that can be done to
improve pas2js...

We made a page with some ideas:
http://wiki.freepascal.org/Pas2js_How_to_contribute

Every contribution is welcome: examples, or even just a mention on the wiki
pages of what you have achieved with Pas2js !

Also: if you have wishes, please let us know or better yet: include them on the
above wiki page...

Michael.
_______________________________________________
Pas2js maillist  -  Pas2js at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190219/c5293bca/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 19 Feb 2019 09:08:43 +0100 (CET)
From: Michael Van Canneyt <michael at freepascal.org>
To: pas2js discussions <pas2js at lists.freepascal.org>
Subject: Re: [Pas2js] We need help !
Message-ID: <alpine.DEB.2.20.1902190855520.32620 at home.telenet.be>
Content-Type: text/plain; charset="utf-8"; Format="flowed"



On Tue, 19 Feb 2019, Mr Bee via Pas2js wrote:

> My huge thank goes to 2 people who working on pas2js. I suppose they are Mattias and Michael. Thank you very much for your great and hard work. pas2js is something I've wanted since I knew Morfik.
> You don't need to worry about spreading the word. Everytime pas2js announces something interesting and significant, I've always been helping promote it everywhere on the internet. I promote it in my local pascal facebook group, in my local pascal telegram group, in my social media accounts, etc.
> However, pas2js is still very new and under heavy development. For an end user like me, it's quite hard to keeping track of what's going on. I'd like to help but I don't know what I've to do and how to do it. So, for now I just keep watching and playing around with the demos.
> I plan to create the classical Graph unit for pas2js based on HTML's canvas, but I still couldn't work on it due to my daily work (plus some of my other hobbies). If I have enough knowledges, I also would like to create CRT unit so we could create a console app that works on browser such as this: https://swift.beejay.repl.run
> Just a little suggestion about future of pas2js. Most developers today think mobile first, even when they're making web apps. I hope pas2js seriously consider this need and provide a solution immediately.

We consider this need. However, we can do only so much.


> Make pas2js beginner friendly, the first thing is to make it something that is easy to install (straight forward installer, no dependency to external tools such as fpc or lazarus, default config that just works) and easy to use (includes some instruction to use in various editors such as vs code, notepad++, etc; technical documentation that can only be provided by pas2js authors such as available units and classes, pas2js languages and syntaxes, pas2js vs pascal comparation such as with fpc or delphi, importing external js tools and frameworks, etc).
> If it's easy to install and used, the next step is to make it easy to develop something (either simple web app, canvas web app, "console" web app, and most importantly mobile web app). They're the main barriers for new users. Once it's provided, users will able to help provide examples and demos, tutorials, even documentations.

This is a bit of a catch-22 situation:

You say we'll get help when we do all these things.
But we need this help exactly to get all these things done...

What do you think is needed to make the installer even more user-friendly ? 
I suspect that for windows, an actual installer would be nice.

This can easily be provided. I am familiar with Inno setup, I'll see what I
can do there.

For the Atom editor, there is a package for pascal. 
It would be nice if it contained support for
a) pas2js compilation
b) creating Atom packages in Pascal.
I will contact the maintainer.

I don't use (or want to use) VS code, so someone else will need to check how
it can be made to interact with pas2js.

Michael.

------------------------------

Subject: Digest Footer

_______________________________________________
Pas2js maillist  -  Pas2js at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js

------------------------------

End of Pas2js Digest, Vol 14, Issue 11
**************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190219/178281bc/attachment-0001.html>


More information about the Pas2js mailing list