From 9d9e71691096e4046ba332078656d3236faa2616 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 22 Jul 2023 11:14:21 +0800 Subject: add table --- readme.rst | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/readme.rst b/readme.rst index b003488..321886b 100644 --- a/readme.rst +++ b/readme.rst @@ -27,29 +27,29 @@ Getting Started To get started with Psi, you can clone the repository and follow the instructions in the README file. The repository includes a comprehensive set of examples that demonstrate the various features of the language. -+---------------------+---------------------+ -| Data Structures | Data Types | -+=====================+=====================+ -| List | Integer | -+---------------------+---------------------+ -| Dictionary | Float | -+---------------------+---------------------+ -| Set | Boolean | -+---------------------+---------------------+ -| Tuple | String | -+---------------------+---------------------+ -| Array | Null | -+---------------------+---------------------+ -| Queue | Object | -+---------------------+---------------------+ -| Stack | Function | -+---------------------+---------------------+ -| Graph | Class | -+---------------------+---------------------+ -| Tree | Interface | -+---------------------+---------------------+ -| LinkedList | Enum | -+---------------------+---------------------+ ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Data Structures | Data Types | keywords | Special Characters | ++=====================+=====================+=================================+=========================================+ +| List | Integer | `reply` `ask` | `?`: if, `!`: else, `|`: condition | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Dictionary | Float | `import` `export` | `==` `<` `>` `!=` `~=` `=` | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Set | Boolean | `def` `call` | `&`: parallel, `~`: delay | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Tuple | String | `list` `dict` `set` `tuple` | `#` `""""...""""` | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Array | Null | `try` `catch` `assert` | `>>`: output stream, `<<`: input stream | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Queue | Object | `alias` | `@`: hook events | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Stack | Function | `wait` `async` `cancel` `yield` | `*`: repeat | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Graph | Class | `match` `search` `replace` | `&&`: and, `||`: or, `!`: not | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| Tree | Interface | `namespace` | `{}`: code block, refer | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ +| LinkedList | Enum | `loop` `break` `continue` | `=>`: functional program | ++---------------------+---------------------+---------------------------------+-----------------------------------------+ Contributing ------------ -- cgit v1.2.3-70-g09d2