From 84b4744f967cf6488236bd1360b15c6c40ea17b9 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 8 Jan 2025 09:54:53 +0800 Subject: Updated readme. --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 046fee4..51ab627 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,15 @@ Yue (月) is the name of moon in Chinese and it's pronounced as [jyɛ]. +## About Dora SSR + +YueScript is being developed and maintained alongside the open-source game engine [Dora SSR](https://github.com/ippclub/Dora-SSR). It has been used to create engine tools, game demos and prototypes, validating its capabilities in real-world scenarios while enhancing the Dora SSR development experience. + + + ## Features -* No other dependencies needed except modified [parserlib](https://github.com/axilmar/parserlib) library from Achilleas Margaritis with some performance enhancement. **lpeg** library is no longer needed. +* Based on modified [parserlib](https://github.com/axilmar/parserlib) library from Achilleas Margaritis with some performance enhancement. **lpeg** library is no longer needed. * Written in C++17. * Support most of the features from MoonScript language. Generate Lua codes in the same way like the original compiler. * Reserve line numbers from source file in the compiled Lua codes to help debugging. @@ -50,8 +56,7 @@ require("yue")("main") -- require `main.yue` local yue = require("yue") local codes, err, globals = yue.to_lua([[ -f = -> - print "hello world" +f = -> print "hello world" f! ]],{ implicit_return_root = true, -- cgit v1.2.3-55-g6feb