Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component dev #221

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open

Component dev #221

wants to merge 40 commits into from

Conversation

shewer
Copy link
Contributor

@shewer shewer commented Jan 12, 2023

1 增加Ticket Reg
可使用 Component.xxxxx( ticket) 新增 物件
2 Translator 模組可以檢查 script_translator table_translator memory class 井調用相關功能
1 實時切換 translator 開關
2 調用Memory中dictionary userdictionary
3 增加LanguageReg 用於 DictEntry --> Phrase 轉換參數

4 優化Phrase() argv1 只要是屬於 Memory 類別 或是 language 類別
ex : Phrase(mem, type, start,end, dict_entry)
mem : LuaMemory Memory Script_translator Table_translator , Language
5 加入 luaunit test

librime-lua  

translator -- script_options
                   -- table_option
                   -- options 
                    -- memory
                    --  language
                    -- memory -- language
                                        --  dict
                                         --  user_dict 

Signed-off-by: shewer <[email protected]>
Signed-off-by: shewer <[email protected]>
Signed-off-by: shewer <[email protected]>
Signed-off-by: shewer <[email protected]>
Signed-off-by: shewer <[email protected]>
Signed-off-by: shewer <[email protected]>
Signed-off-by: shewer <[email protected]>
* add  EngineReg select_schema()  env.engine:select( string schema_id ) .next

Signed-off-by: shewer <[email protected]>

* add engine:apply_schema( Schema &)   Schema( const string &)

Signed-off-by: shewer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant