Difference between revisions of "Pas2js How to contribute"

From Lazarus wiki
Jump to navigationJump to search
Line 1: Line 1:
Here are some fields where you can help the pas2js project. If you want to help give us a note on the mailing list, so we can help you.
+
You want to help the pas2js project and don't know how?
 +
 
 +
Here are some ideas. If you want to help give us a note on the mailing list, so we can help you.
  
 
= Spread the word =
 
= Spread the word =

Revision as of 19:00, 18 February 2019

You want to help the pas2js project and don't know how?

Here are some ideas. If you want to help give us a note on the mailing list, so we can help you.

Spread the word

Post on social media, organize meetings

Answer newbie question on forums and mailing lists

Write an overview, what units/packages already exist and what they provide

For example a wiki page with a list of all units and their classes with one or two sentences for each unit/class.

Easier quick start

  • Write a better installer
  • or a better wiki page how to quick start from nil to the first webapp.
  • or extend pas2jsdsgn with a button to download and setup pas2js
  • or a script to create rpm/deb/dmg packages

Lazarus help

Help for pas2js units on F1:

  • fpdoc files
  • or external help entries

Simple HOWTOs

  • Wiki: Register a user in the wiki and write a page how to use pas2js with library X, or how to port Delphi code, or how to use pas2js in editor Y, etc
  • or create a Youtube tutorial

Write external classes for importing JS libraries

  • If a JS library has an IDL, use the webidl tool to auto create a basic Pascal unit for it, and if needed improve it manually
  • Use class2pas unit to create a rough Pascal representation, then use the documentation to fill the gaps (create some types).

Help in compiler

The whole compiler is open source, so everyone can improve it and send patches.

WidgetSet

As pas2js is maturing, the next step is to write a widgetset.