{"id":16645647,"url":"https://github.com/cppcxy/excel-to-lua","last_synced_at":"2025-10-04T23:46:51.761Z","repository":{"id":132588916,"uuid":"175349524","full_name":"CppCXY/excel-to-lua","owner":"CppCXY","description":"用于把简单excel转化为lua配置文本","archived":false,"fork":false,"pushed_at":"2019-03-13T07:14:23.000Z","size":1769,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-03T06:25:39.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CppCXY.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-13T05:01:33.000Z","updated_at":"2025-04-30T01:49:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"eee16de7-aeaf-4033-bdad-861ee3d1fa04","html_url":"https://github.com/CppCXY/excel-to-lua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CppCXY/excel-to-lua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CppCXY%2Fexcel-to-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CppCXY%2Fexcel-to-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CppCXY%2Fexcel-to-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CppCXY%2Fexcel-to-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CppCXY","download_url":"https://codeload.github.com/CppCXY/excel-to-lua/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CppCXY%2Fexcel-to-lua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278391190,"owners_count":25978944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T08:24:40.350Z","updated_at":"2025-10-04T23:46:51.717Z","avatar_url":"https://github.com/CppCXY.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# excel-to-lua\n用于把简单excel转化为lua配置文本\n需要安装库 \npip install xlrd\n使用时闪退可能是有错\n可以在控制台上 输入python jyLuaParse.py 查看错误或者运行脚本\n\npython脚本基于python3.7.1\n\n语法\n整体通过tag 驱动解析\ntag语法:\nwordkBook 提示脚本打开相关的excel文件,sheet提示脚本到哪个sheet开始解析,to代表解析到的目标文件.\nvariable 就是普通的没有特定格式的变量解析.\nStringParse 代表这一大块字符串需要展开解析,extend代表之后连续的多少个列的展开解析\nattr语法:\ndefault 字段弃用所有type都有默认值,以后可能会重新考虑启用\nsplitSequence,解析中需要分割的字段.最大支持两个.\ntype语法:\nstring 解析为普通用一对引号包含的字符串\nint解析为整数\nfloat解析为浮点数\nblockString 解析为[[   ]] 包含的大段字符串,如果原文包含[[或者]]会被转化为(( 和 ))\ncollection 弃用,保留下来仅仅是标识\nbool 转化为bool类型\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppcxy%2Fexcel-to-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcppcxy%2Fexcel-to-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppcxy%2Fexcel-to-lua/lists"}