You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, a Library bundle with more example scripts is available in the download section as well.
17
17
18
18
# About TeaScript
19
-
**What is new in TeaScript 0.15.0?** TeaScript 0.15 comes with a Web Server / Web Client module preview, full JSON read/write support and more.<br>
19
+
**What is new in TeaScript 0.16.0?** TeaScript 0.16 comes with a distinct Error type, a catch statement, default shared params, BSON support and more.<br>
20
+
<br>Get all infos in the **latest blog post**:<br>
<br>**What was new in TeaScript 0.15.0?** TeaScript 0.15 comes with a Web Server / Web Client module preview, full JSON read/write support and more.<br>
20
23
<br>**Watch the web feature demo on YouTube:** <br>
21
24
https://youtu.be/31_5-IrHcaE <br>
22
-
<br>Get all infos in the **latest blog post**:<br>
25
+
<br>Read all infos in the corresponding blog post:<br>
- a **catch** statement similar as in and highly inspired by [Zig](https://ziglang.org/documentation/master/#catch).
32
+
- Function parameters are **shared assign** by default now.
33
+
- experimental **BSON** support.
34
+
### TeaScript 0.15.0
26
35
-**Web module** as a preview for **http client / server** functionality with enhanced build-in **JSON** support.
27
36
- Full **JSON** support for read and write operations (String/File ⟷ (Named) Tuple).
28
37
- Provided C++ JSON adapter for nlohmann::json, RapidJSON, Boost.Json and PicoJson.
29
38
- Added missing write support for TOML (now TOML is complete as well).
30
39
- Import/export of C++ JSON / TOML objects from/to ValueObject of TeaScript (as a Named Tuple)
31
40
32
-
### Example Files for the latest release
33
-
[web_client.tea](demo/web_client.tea), [web_server.tea](demo/web_server.tea), [JSON Support UniTest](demo/corelibrary_test05.tea), [Json C++ Import/Export](https://github.com/Florian-Thake/TeaScript-Cpp-Library/blob/6a7f348a7d8c959187b6f7ddcb5ed0c4e0e092c9/demo/teascript_demo.cpp#L90)
41
+
### Example Files for the last releases
42
+
[web_client.tea](demo/web_client.tea), [web_server.tea](demo/web_server.tea), [JSON Support UnitTest](demo/corelibrary_test05.tea), [Json C++ Import/Export](https://github.com/Florian-Thake/TeaScript-Cpp-Library/blob/6a7f348a7d8c959187b6f7ddcb5ed0c4e0e092c9/demo/teascript_demo.cpp#L90), [Error and Catch UnitTest](demo/corelibrary_test06.tea), [Catch and BSON example](demo/example_v0.16.tea)
43
+
44
+
**Hint:** Better syntax highlighting is on the TeaScript home page or in Notepad++ with the provided [SyntaxHighlighting.xml](TeaScript_SyntaxHighlighting_Notepad%2B%2B.xml)
34
45
35
46
## Example HTTP GET
36
47
**Please, note:** The pre-compiled Windows and Linux packages of the TeaScript Host Application have this feature enabled by default (download link above).<br>
0 commit comments