From fa81f351f05d66c1a67bb4e1f26b76b09f1d3d76 Mon Sep 17 00:00:00 2001 From: David Pichsenmeister <2430996+pichsenmeister@users.noreply.github.com> Date: Mon, 29 Jun 2020 12:07:57 -0700 Subject: [PATCH] Update README.md --- README.md | 55 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 4ba8642..8d91a06 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file +Inspired by [ArnoldJS](https://github.com/pichsenmeister/ArnoldJS)