Update README.md

This commit is contained in:
David Pichsenmeister 2020-06-29 12:07:57 -07:00 committed by GitHub
parent f3389eaa21
commit fa81f351f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,6 +55,8 @@ Examples can be found in the [examples](examples) directory.
### Usage ### Usage
#### Keywords
| WienerScript | JavaScript | | WienerScript | JavaScript |
| ----- | ----- | | ----- | ----- |
| FIX OIDA | const | | FIX OIDA | const |
@ -63,37 +65,43 @@ Examples can be found in the [examples](examples) directory.
| HAWIDERE | new | | HAWIDERE | new |
| I BIMS | this | | I BIMS | this |
| HACKL AMOI WOS | function | | HACKL AMOI WOS | function |
| DRAH DI HAM | return | | SCHLEICH DI | delete |
| WAS WÜSTN | if | | SICHA NET | false |
| WOA NUA A SCHMÄH | else if | | NA NO NA NET | true |
| A SCHO WUASCHT | else | | WOS BISTN DU FIA A WAPPLA | instanceof |
| for | for | | WEM GHERSTN DU | typeof |
| JO GLEI | await |
| OWIZAHRER | async |
| AIZAL | in |
#### Control statements
| WienerScript | JavaScript |
| ----- | ----- |
| STRAWANZ MA | for |
| DAMMA WOS | do | | DAMMA WOS | do |
| GEMMA | while | | GEMMA | while |
| GUSCH | continue | | GUSCH | continue |
| in | in | | WAS WÜSTN | if |
| WOA NUA A SCHMÄH | else if |
| A SCHO WUASCHT | else |
| WOS IS MIT DIR | switch | | WOS IS MIT DIR | switch |
| I SCHAU NUR | case | | I SCHAU NUR | case |
| PASST SCHO | break | | PASST SCHO | break |
| NA GEH | default | | NA GEH | default |
| DRAH DI HAM | return |
| GEH SCHEISSN | throw | | GEH SCHEISSN | throw |
| SCHAU MA MOL | try | | SCHAU MA MOL | try |
| LECK OASCH | catch | | LECK OASCH | catch |
| SAMMAS ENDLICH | finally | | SAMMAS ENDLICH | finally |
| SCHLEICH DI | delete |
| SICHA NET | false | #### Operators
| NA NO NA NET | true |
| instanceOf | instanceof | | WienerScript | JavaScript |
| typeof | typeof | | ----- | ----- |
| JO GLEI | await |
| OWIZAHRER | async |
| I MAN JA NUR | console.log |
| DO IS DA HUND BEGROBN | console.debug |
| GSCHISSN GRISSN | console.error |
| DES IS MA ECHT Z'DEPPAT | process.exit |
| KANNST DA VUASTÖHN | === | | KANNST DA VUASTÖHN | === |
| DES GEHT SI SCHO AUS | == | | DES GEHT SI SCHO AUS | == |
| && | && | | UND ÜBRIGENS | && |
| GHUPFT WIE GHATSCHT | \|\| | | GHUPFT WIE GHATSCHT | \|\| |
| WENNST MANST | = | | WENNST MANST | = |
| AUFI | + | | AUFI | + |
@ -105,6 +113,15 @@ Examples can be found in the [examples](examples) directory.
| HOST MI | ? | | HOST MI | ? |
| DANN HOIT NET | : | | DANN HOIT NET | : |
#### Functions
| WienerScript | JavaScript |
| ----- | ----- |
| I MAN JA NUR | console.log |
| DO IS DA HUND BEGROBN | console.debug |
| GSCHISSN GRISSN | console.error |
| DES IS MA ECHT Z'DEPPAT | process.exit |
## License ## License
This project is licensed under the MIT license, Copyright (c) 2020 David Pichsenmeister | pichsenmeister.com. For more information see [LICENSE](LICENSE). This project is licensed under the MIT license, Copyright (c) 2020 David Pichsenmeister | pichsenmeister.com. For more information see [LICENSE](LICENSE).