erg/doc/zh_TW/dev_guide/build_features.md
2023-02-03 13:18:01 +08:00

44 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# `erg` 構建功能
[![badge](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com%2Fdefault%2Fsource_up_to_date%3Fowner%3Derg-lang%26repos%3Derg%26ref%3Dmain%26path%3Ddoc/EN/dev_guide/build_features.md%26commit_hash%3Dcbaf48c04b46fadc680fa4e05e8ad22cbdaf6c47)](https://gezf7g7pd5.execute-api.ap-northeast-1.amazonaws.com/default/source_up_to_date?owner=erg-lang&repos=erg&ref=main&path=doc/EN/dev_guide/build_features.md&commit_hash=cbaf48c04b46fadc680fa4e05e8ad22cbdaf6c47)
## debug
進入調試模式。結果Erg 內部的行為順序顯示在日誌中
獨立於 Rust 的 `debug_assertions` 標誌
## japanese
將系統語言設置為日語
Erg 內部選項、幫助(幫助、版權、許可證等)和錯誤顯示為日語
## simplified_chinese
將系統語言設置為簡體中文
Erg 內部選項、幫助(幫助、版權、許可證等)和錯誤顯示為簡體中文
## traditional_chinese
將系統語言設置為繁體中文
Erg 內部選項、幫助(幫助、版權、許可證等)和錯誤顯示為繁體中文。
## unicode/pretty
使得編譯器顯示豐富內容
## pre-commit
用於在預提交中運行測試。這是一個bug解決方案
## large_thread
增加線程堆棧大小。用於Windows執行和測試執行
## els
通過 `--language-server` 使其變得可用
通過 `erg --language-server` 打開
## py_compatible
啟用Python兼容模式使部分api和語法與Python兼容。用於[pylyzer](https://github.com/mtshiba/pylyzer)