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