Pas2js How to contribute: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Pas2js How to contribute
| Old | New | Line | |
|---|---|---|---|
| 1 | + | You want to help the pas2js project and don't know how? | |
| 2 | + | ||
| 3 | + | Here are some ideas. If you want to help give us a note on the mailing list, so we can help you. | |
| 4 | + | ||
| 5 | + | # Spread the word | |
| 6 | + | ||
| 7 | + | Post on social media, organize meetings | |
| 8 | + | ||
| 9 | + | # Answer newbie question on forums and mailing lists | |
| 10 | + | ||
| 11 | + | - Official mailing list (English): <http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js> | |
| 12 | + | - Pas2js board on Lazarus forum: <http://forum.lazarus-ide.org/index.php/board,76.0.html> | |
| 13 | + | ||
| 14 | + | # Write an overview, what units/packages already exist and what they provide | |
| 15 | + | ||
| 16 | + | For example a wiki page with a list of all units and their classes with one or two sentences for each unit/class. | |
| 17 | + | ||
| 18 | + | # Easier quick start | |
| 19 | + | ||
| 20 | + | - Write a better installer | |
| 21 | + | - or a better wiki page how to quick start from nil to the first webapp. | |
| 22 | + | - or extend pas2jsdsgn with a button to download and setup pas2js | |
| 23 | + | - or a script to create rpm/deb/dmg packages | |
| 24 | + | ||
| 25 | + | # Lazarus help | |
| 26 | + | ||
| 27 | + | Help for pas2js units on F1: | |
| 28 | + | ||
| 29 | + | - fpdoc files | |
| 30 | + | - or external help entries | |
| 31 | + | ||
| 32 | + | # Simple HOWTOs | |
| 33 | + | ||
| 34 | + | - 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 | |
| 35 | + | - or create a Youtube tutorial | |
| 36 | + | - Donate examples. Every example that demonstrates what can be done is welcome ! | |
| 37 | + | ||
| 38 | + | # Write external classes for importing JS libraries | |
| 39 | + | ||
| 40 | + | - 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 | |
| 41 | + | - Use class2pas unit to create a rough Pascal representation, then use the documentation to fill the gaps (create some types). | |
| 42 | + | ||
| 43 | + | # Help in compiler | |
| 44 | + | ||
| 45 | + | The whole compiler is open source, so everyone can improve it and send patches. | |
| 46 | + | ||
| 47 | + | - Here are the needed [[Pas2js optimizations|optimizations]]. | |
| 48 | + | ||
| 49 | + | # WidgetSet | |
| 50 | + | ||
| 51 | + | As pas2js is maturing, the next step is to write a widgetset. Some efforts are underway: [[pas2js widgetsets]] | |
| 52 | + | ||
| 53 | + | The end goal is a a widgetset that can be used to underpin the LCL. But a widgetset should be usable without having to use the LCL: When developing for web, the mechanisms of a desktop development environment are not always suitable. | |
| 54 | + | ||
| 55 | + | # Navigation | |
| 56 | + | ||
| 57 | + | - [[pas2js]] | |
| 58 | + | - [[lazarus pas2js integration|Lazarus integration]] | |
| 59 | + | - [[pas2js widgetsets|WidgetSets]] | |
| 60 | + | ||
| 61 | + | --- | |
| 62 | + | *From the Free Pascal wiki, page "Pas2js How to contribute", as it stood on 2019-07-01 after a change by Skalogryz, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 63 | + | Category: Pas2js |
